mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #8701 - nerith:attribute, r=jdm
Remove `#[allow(raw_pointer_derive)]` attributes The attributes are unused. Fixes #8699. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8701) <!-- Reviewable:end -->
This commit is contained in:
commit
c0be03f2af
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