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/node.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'components/script/dom/node.rs') diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs index 768a2accb1d..941ea5a5a76 100644 --- a/components/script/dom/node.rs +++ b/components/script/dom/node.rs @@ -179,7 +179,6 @@ pub struct SharedLayoutData { } /// Encapsulates the abstract layout data. -#[allow(raw_pointer_derive)] #[derive(HeapSizeOf)] pub struct LayoutData { _shared_data: SharedLayoutData, @@ -2319,7 +2318,6 @@ impl NodeMethods for 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_derive)] #[derive(Clone, PartialEq, Eq, Copy)] pub struct TrustedNodeAddress(pub *const c_void); -- cgit v1.2.3