mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Move remaining uses of NonZero to our nonzero crate
This commit is contained in:
parent
e2fafd2dfc
commit
99b052d3a6
4 changed files with 2 additions and 4 deletions
|
@ -11,7 +11,6 @@
|
|||
//! slot. When all associated `WeakRef` values are dropped, the
|
||||
//! `WeakBox` itself is dropped too.
|
||||
|
||||
use core::nonzero::NonZero;
|
||||
use dom::bindings::reflector::DomObject;
|
||||
use dom::bindings::root::DomRoot;
|
||||
use dom::bindings::trace::JSTraceable;
|
||||
|
@ -19,6 +18,7 @@ use heapsize::HeapSizeOf;
|
|||
use js::jsapi::{JSTracer, JS_GetReservedSlot, JS_SetReservedSlot};
|
||||
use js::jsval::PrivateValue;
|
||||
use libc::c_void;
|
||||
use nonzero::NonZero;
|
||||
use std::cell::{Cell, UnsafeCell};
|
||||
use std::mem;
|
||||
use std::ops::{Deref, DerefMut, Drop};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue