Skip to content

Commit

Permalink
Remove unused macro
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Jan 11, 2019
1 parent 2a78625 commit 9b98beb
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions components/style_traits/values.rs
Expand Up @@ -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>,
Expand Down

0 comments on commit 9b98beb

Please sign in to comment.