mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
parent
e57319a734
commit
e41d724694
2 changed files with 3 additions and 22 deletions
|
@ -44,7 +44,7 @@ pub fn derive(input: DeriveInput) -> Tokens {
|
|||
#expr
|
||||
|
||||
for item in #binding.iter() {
|
||||
writer.item(item)?;
|
||||
writer.item(&item)?;
|
||||
}
|
||||
};
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue