mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +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
|
@ -40,7 +40,7 @@ use geom::rect::Rect;
|
|||
|
||||
/// 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_deriving)]
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct UntrustedNodeAddress(pub *const c_void);
|
||||
unsafe impl Send for UntrustedNodeAddress {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue