diff options
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
-rw-r--r-- | components/script/dom/bindings/utils.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs index 47543b1f61f..2819018cf27 100644 --- a/components/script/dom/bindings/utils.rs +++ b/components/script/dom/bindings/utils.rs @@ -47,7 +47,7 @@ use js; /// Proxy handler for a WindowProxy. pub struct WindowProxyHandler(pub *const libc::c_void); -#[allow(raw_pointer_deriving)] +#[allow(raw_pointer_derive)] #[jstraceable] /// Static data associated with a global object. pub struct GlobalStaticData { @@ -352,7 +352,7 @@ pub fn reflect_dom_object<T: Reflectable> /// A struct to store a reference to the reflector of a DOM object. // Allowing unused_attribute because the lint sometimes doesn't run in order -#[allow(raw_pointer_deriving, unrooted_must_root, unused_attributes)] +#[allow(raw_pointer_derive, unrooted_must_root, unused_attributes)] #[derive(PartialEq)] #[must_root] #[servo_lang = "reflector"] |