style: Derive ToCss for FontFamilyList.

The extra reference in to_css is needed because the family list iterator returns
by value in Gecko.
This commit is contained in:
Emilio Cobos Álvarez 2018-02-07 17:30:28 +01:00
parent e57319a734
commit e41d724694
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 3 additions and 22 deletions

View file

@ -44,7 +44,7 @@ pub fn derive(input: DeriveInput) -> Tokens {
#expr
for item in #binding.iter() {
writer.item(item)?;
writer.item(&item)?;
}
};
} else {