mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove rustc-serialize from style and style_traits
This commit is contained in:
parent
56a99577b3
commit
8a8ee2888c
9 changed files with 4 additions and 10 deletions
|
@ -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 ),+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue