Skip to content
Permalink
Browse files

Remove unused macro

  • Loading branch information...
SimonSapin committed Jan 11, 2019
1 parent 2a78625 commit 9b98beb7693a9fc9e70bbf3f1ea6d6cafbfa7857
Showing with 0 additions and 18 deletions.
  1. +0 −18 components/style_traits/values.rs
@@ -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>,

0 comments on commit 9b98beb

Please sign in to comment.
You can’t perform that action at this time.