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:
bors-servo 2018-02-09 06:32:39 -05:00 committed by GitHub
commit f8ac623047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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),
})
},