mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #20003 - emilio:simplify-font-family-serialize, r=nox
style: Remove unneeded clone. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20003) <!-- Reviewable:end -->
This commit is contained in:
commit
f8ac623047
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ impl SingleFontFamily {
|
|||
let mut serialization = String::new();
|
||||
serialize_atom_identifier(&name, &mut serialization).unwrap();
|
||||
SingleFontFamily::FamilyName(FamilyName {
|
||||
name: name.clone(),
|
||||
name,
|
||||
syntax: FamilyNameSyntax::Identifiers(serialization),
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue