mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Remove unneeded clone.
This commit is contained in:
parent
7e501f50f7
commit
655e0c6beb
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