mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Address review comments
This commit is contained in:
parent
48299a53cb
commit
4d46d257cd
5 changed files with 82 additions and 38 deletions
|
@ -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 ),+
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue