From 341e66f66d88b1bfae7d3cc2ec6b870e2beb583c Mon Sep 17 00:00:00 2001 From: Brandon Fairchild Date: Fri, 27 Nov 2015 14:32:57 -0500 Subject: Remove `#[allow(raw_pointer_derive)]` attributes The attributes are unused. Fixes #8699. --- components/script/dom/bindings/utils.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'components/script/dom/bindings/utils.rs') diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs index 9455cee3957..775df6a45aa 100644 --- a/components/script/dom/bindings/utils.rs +++ b/components/script/dom/bindings/utils.rs @@ -53,7 +53,6 @@ use util::mem::HeapSizeOf; use util::str::jsstring_to_str; /// Proxy handler for a WindowProxy. -#[allow(raw_pointer_derive)] pub struct WindowProxyHandler(pub *const libc::c_void); impl HeapSizeOf for WindowProxyHandler { @@ -63,7 +62,6 @@ impl HeapSizeOf for WindowProxyHandler { } } -#[allow(raw_pointer_derive)] #[derive(JSTraceable, HeapSizeOf)] /// Static data associated with a global object. pub struct GlobalStaticData { @@ -142,7 +140,6 @@ pub struct NativePropertyHooks { } /// The struct that holds inheritance information for DOM object reflectors. -#[allow(raw_pointer_derive)] #[derive(Copy, Clone)] pub struct DOMClass { /// A list of interfaces that this object implements, in order of decreasing -- cgit v1.2.3