mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01: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
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue