mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26)
This commit is contained in:
parent
27031b996b
commit
a205c82264
20 changed files with 34 additions and 34 deletions
|
@ -200,7 +200,7 @@ impl<T: DomObject> Trusted<T> {
|
|||
self.owner_thread == (&*live_references) as *const _ as *const libc::c_void
|
||||
}));
|
||||
unsafe {
|
||||
Root::new(NonZero::new(self.refcount.0 as *const T))
|
||||
Root::new(NonZero::new_unchecked(self.refcount.0 as *const T))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue