Remove rustc-serialize from style and style_traits

This commit is contained in:
Anthony Ramine 2017-02-23 21:47:23 +01:00
parent 56a99577b3
commit 8a8ee2888c
9 changed files with 4 additions and 10 deletions

View file

@ -19,7 +19,7 @@ macro_rules! define_numbered_css_keyword_enum {
};
($name: ident: $( $css: expr => $variant: ident = $value: expr ),+) => {
#[allow(non_camel_case_types, missing_docs)]
#[derive(Clone, Eq, PartialEq, PartialOrd, Ord, Copy, RustcEncodable, Debug)]
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
#[cfg_attr(feature = "servo", derive(HeapSizeOf, Deserialize, Serialize))]
pub enum $name {
$( $variant = $value ),+