mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Remove unused macro
This commit is contained in:
parent
2a7862540c
commit
9b98beb769
1 changed files with 0 additions and 18 deletions
|
@ -158,24 +158,6 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[macro_export]
|
|
||||||
macro_rules! serialize_function {
|
|
||||||
($dest: expr, $name: ident($( $arg: expr, )+)) => {
|
|
||||||
serialize_function!($dest, $name($($arg),+))
|
|
||||||
};
|
|
||||||
($dest: expr, $name: ident($first_arg: expr $( , $arg: expr )*)) => {
|
|
||||||
{
|
|
||||||
$dest.write_str(concat!(stringify!($name), "("))?;
|
|
||||||
$first_arg.to_css($dest)?;
|
|
||||||
$(
|
|
||||||
$dest.write_str(", ")?;
|
|
||||||
$arg.to_css($dest)?;
|
|
||||||
)*
|
|
||||||
$dest.write_char(')')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Convenience wrapper to serialise CSS values separated by a given string.
|
/// Convenience wrapper to serialise CSS values separated by a given string.
|
||||||
pub struct SequenceWriter<'a, 'b: 'a, W: 'b> {
|
pub struct SequenceWriter<'a, 'b: 'a, W: 'b> {
|
||||||
inner: &'a mut CssWriter<'b, W>,
|
inner: &'a mut CssWriter<'b, W>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue