mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Remove #[allow(raw_pointer_derive)]
attributes
The attributes are unused. Fixes #8699.
This commit is contained in:
parent
3720e4d5ef
commit
341e66f66d
7 changed files with 1 additions and 10 deletions
|
@ -46,7 +46,6 @@ use util::mem::HeapSizeOf;
|
|||
|
||||
/// The address of a node. Layout sends these back. They must be validated via
|
||||
/// `from_untrusted_node_address` before they can be used, because we do not trust layout.
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub struct UntrustedNodeAddress(pub *const c_void);
|
||||
unsafe impl Send for UntrustedNodeAddress {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue