diff options
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r-- | components/script/dom/node.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 2128b0f93f4..40fa4b037b4 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -60,7 +60,7 @@ use std::cell::{Cell, RefCell, Ref, RefMut}; use std::default::Default; use std::iter::{FilterMap, Peekable}; use std::mem; -use style::{mod, ComputedValues}; +use style::{self, ComputedValues}; use std::sync::Arc; use uuid; use string_cache::QualName; @@ -2206,7 +2206,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> { /// The address of a node known to be valid. These are sent from script to layout, /// and are also used in the HTML parser interface. -#[allow(raw_pointer_deriving)] +#[allow(raw_pointer_derive)] #[derive(Clone, PartialEq, Eq, Copy)] pub struct TrustedNodeAddress(pub *const c_void); |