mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Replace write! with to_css and write_str in some ToCss impls
This commit is contained in:
parent
c1b196b7cb
commit
7e92c15e00
11 changed files with 58 additions and 42 deletions
|
@ -201,7 +201,7 @@ pub fn serialize_comma_separated_list<W, T>(dest: &mut W,
|
|||
list[0].to_css(dest)?;
|
||||
|
||||
for item in list.iter().skip(1) {
|
||||
write!(dest, ", ")?;
|
||||
dest.write_str(", ")?;
|
||||
item.to_css(dest)?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue