diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-06-18 20:49:03 +0530 |
---|---|---|
committer | Jack Moffitt <jack@metajack.im> | 2014-06-27 18:50:32 -0600 |
commit | f5b5b337d3fd5eb6632e3133486e16eeea7566a5 (patch) | |
tree | 2c0f5a6ebc85a487a6f72976f021b555ce593da8 /src/components/script/layout_interface.rs | |
parent | 56dd5b943eb9652e160d6701c67eb1ff44eeee2a (diff) | |
download | servo-f5b5b337d3fd5eb6632e3133486e16eeea7566a5.tar.gz servo-f5b5b337d3fd5eb6632e3133486e16eeea7566a5.zip |
Upgrade to latest Rust.
Diffstat (limited to 'src/components/script/layout_interface.rs')
-rw-r--r-- | src/components/script/layout_interface.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/layout_interface.rs b/src/components/script/layout_interface.rs index 487fb8f0862..3b57680702e 100644 --- a/src/components/script/layout_interface.rs +++ b/src/components/script/layout_interface.rs @@ -87,7 +87,7 @@ pub struct HitTestResponse(pub UntrustedNodeAddress); pub struct MouseOverResponse(pub Vec<UntrustedNodeAddress>); /// Determines which part of the -#[deriving(Eq, Ord, TotalEq, TotalOrd, Encodable)] +#[deriving(PartialEq, PartialOrd, Eq, Ord, Encodable)] pub enum DocumentDamageLevel { /// Reflow, but do not perform CSS selector matching. ReflowDocumentDamage, @@ -116,7 +116,7 @@ pub struct DocumentDamage { } /// Why we're doing reflow. -#[deriving(Eq)] +#[deriving(PartialEq)] pub enum ReflowGoal { /// We're reflowing in order to send a display list to the screen. ReflowForDisplay, |