mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Remove some uses of write!
in components/style
This commit is contained in:
parent
17aa04b712
commit
38043a71de
3 changed files with 11 additions and 4 deletions
|
@ -176,7 +176,7 @@ macro_rules! try_parse_one {
|
|||
|
||||
for i in 0..len {
|
||||
if i != 0 {
|
||||
write!(dest, ", ")?;
|
||||
dest.write_str(", ")?;
|
||||
}
|
||||
self.transition_property.0[i].to_css(dest)?;
|
||||
% for name in "duration timing_function delay".split():
|
||||
|
@ -289,7 +289,7 @@ macro_rules! try_parse_one {
|
|||
|
||||
for i in 0..len {
|
||||
if i != 0 {
|
||||
write!(dest, ", ")?;
|
||||
dest.write_str(", ")?;
|
||||
}
|
||||
|
||||
% for name in props[1:]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue