diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-10-14 13:05:28 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-10-16 20:19:59 +0200 |
commit | 99b052d3a6d59ad17ed2bf3d3c54af2bb40d926a (patch) | |
tree | a137eeeabbd0692fbf0a3cdf1612b1ce13a7f80a /components/script/dom/bindings/root.rs | |
parent | e2fafd2dfc7a1b66fb224c83e15042d8f6d595c0 (diff) | |
download | servo-99b052d3a6d59ad17ed2bf3d3c54af2bb40d926a.tar.gz servo-99b052d3a6d59ad17ed2bf3d3c54af2bb40d926a.zip |
Move remaining uses of NonZero to our nonzero crate
Diffstat (limited to 'components/script/dom/bindings/root.rs')
-rw-r--r-- | components/script/dom/bindings/root.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/root.rs b/components/script/dom/bindings/root.rs index 5aaa806ceaf..998a2bd2413 100644 --- a/components/script/dom/bindings/root.rs +++ b/components/script/dom/bindings/root.rs @@ -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; |