Address review comments

This commit is contained in:
Patrick Walton 2015-04-22 16:04:47 -07:00 committed by Simon Sapin
parent 48299a53cb
commit 4d46d257cd
5 changed files with 82 additions and 38 deletions

View file

@ -51,7 +51,7 @@ macro_rules! define_numbered_css_keyword_enum {
};
($name: ident: $( $css: expr => $variant: ident = $value: expr ),+) => {
#[allow(non_camel_case_types)]
#[derive(Clone, Eq, PartialEq, FromPrimitive, Copy, RustcEncodable)]
#[derive(Clone, Eq, PartialEq, PartialOrd, Ord, FromPrimitive, Copy, RustcEncodable)]
pub enum $name {
$( $variant = $value ),+
}