mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
raw_pointer_deriving -> raw_pointer_derive
This commit is contained in:
parent
547ed20455
commit
b8fb725af2
5 changed files with 6 additions and 6 deletions
|
@ -49,7 +49,7 @@ use js;
|
|||
/// Proxy handler for a WindowProxy.
|
||||
pub struct WindowProxyHandler(pub *const libc::c_void);
|
||||
|
||||
#[allow(raw_pointer_deriving)]
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[jstraceable]
|
||||
/// Static data associated with a global object.
|
||||
pub struct GlobalStaticData {
|
||||
|
@ -354,7 +354,7 @@ pub fn reflect_dom_object<T: Reflectable>
|
|||
|
||||
/// A struct to store a reference to the reflector of a DOM object.
|
||||
// Allowing unused_attribute because the lint sometimes doesn't run in order
|
||||
#[allow(raw_pointer_deriving, unrooted_must_root, unused_attributes)]
|
||||
#[allow(raw_pointer_derive, unrooted_must_root, unused_attributes)]
|
||||
#[derive(PartialEq)]
|
||||
#[must_root]
|
||||
#[servo_lang = "reflector"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue