diff options
author | Josh Matthews <josh@joshmatthews.net> | 2015-01-15 13:26:44 -0500 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-01-28 10:16:49 +1000 |
commit | 95fc29fa0db21959df99d81cdbb9561226321d2f (patch) | |
tree | a48e171165ec155062ef13c550b2c0f72d127425 /components/style/legacy.rs | |
parent | ff8cbff81016c157373c1675f3eee69dd70ae544 (diff) | |
download | servo-95fc29fa0db21959df99d81cdbb9561226321d2f.tar.gz servo-95fc29fa0db21959df99d81cdbb9561226321d2f.zip |
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
Diffstat (limited to 'components/style/legacy.rs')
-rw-r--r-- | components/style/legacy.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/style/legacy.rs b/components/style/legacy.rs index 0316df68185..95a0f7b6db6 100644 --- a/components/style/legacy.rs +++ b/components/style/legacy.rs @@ -18,14 +18,14 @@ use servo_util::smallvec::VecLike; use servo_util::str::LengthOrPercentageOrAuto; /// Legacy presentational attributes that take a length as defined in HTML5 § 2.4.4.4. -#[deriving(Copy, PartialEq, Eq)] +#[derive(Copy, PartialEq, Eq)] pub enum LengthAttribute { /// `<td width>` Width, } /// Legacy presentational attributes that take an integer as defined in HTML5 § 2.4.4.2. -#[deriving(Copy, PartialEq, Eq)] +#[derive(Copy, PartialEq, Eq)] pub enum IntegerAttribute { /// `<input size>` Size, @@ -34,7 +34,7 @@ pub enum IntegerAttribute { } /// Legacy presentational attributes that take a nonnegative integer as defined in HTML5 § 2.4.4.2. -#[deriving(Copy, PartialEq, Eq)] +#[derive(Copy, PartialEq, Eq)] pub enum UnsignedIntegerAttribute { /// `<td border>` Border, @@ -43,7 +43,7 @@ pub enum UnsignedIntegerAttribute { } /// Legacy presentational attributes that take a simple color as defined in HTML5 § 2.4.6. -#[deriving(Copy, PartialEq, Eq)] +#[derive(Copy, PartialEq, Eq)] pub enum SimpleColorAttribute { /// `<body bgcolor>` BgColor, |