mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Squash a warning about deriving traits on a struct that contains a raw pointer.
This commit is contained in:
parent
d8483d2365
commit
999fc973c0
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ use js::JSPROP_PERMANENT;
|
||||||
use js::{JSFUN_CONSTRUCTOR, JSPROP_READONLY};
|
use js::{JSFUN_CONSTRUCTOR, JSPROP_READONLY};
|
||||||
use js;
|
use js;
|
||||||
|
|
||||||
|
#[allow(raw_pointer_deriving)]
|
||||||
#[deriving(Encodable)]
|
#[deriving(Encodable)]
|
||||||
pub struct GlobalStaticData {
|
pub struct GlobalStaticData {
|
||||||
pub proxy_handlers: Untraceable<HashMap<uint, *libc::c_void>>,
|
pub proxy_handlers: Untraceable<HashMap<uint, *libc::c_void>>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue