mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -24,7 +24,6 @@
|
|||
//! originating `DomRoot<T>`.
|
||||
//!
|
||||
|
||||
use core::nonzero::NonZero;
|
||||
use dom::bindings::conversions::DerivedFrom;
|
||||
use dom::bindings::inheritance::Castable;
|
||||
use dom::bindings::reflector::{DomObject, Reflector};
|
||||
|
@ -35,6 +34,7 @@ use heapsize::HeapSizeOf;
|
|||
use js::jsapi::{JSObject, JSTracer, Heap};
|
||||
use js::rust::GCMethods;
|
||||
use mitochondria::OnceCell;
|
||||
use nonzero::NonZero;
|
||||
use script_layout_interface::TrustedNodeAddress;
|
||||
use std::cell::{Cell, UnsafeCell};
|
||||
use std::default::Default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue