Bug 1519729 - Remove unused macro. r=emilio

Cherry-picks a commit from https://github.com/servo/servo/pull/22674
This commit is contained in:
Simon Sapin 2019-01-11 14:02:28 +01:00 коммит произвёл Emilio Cobos Álvarez
Родитель 0d44c3af6e
Коммит 9bdfa9feca
1 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -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.
pub struct SequenceWriter<'a, 'b: 'a, W: 'b> {
inner: &'a mut CssWriter<'b, W>,