diff options
Diffstat (limited to 'components/script/dom/bindings/namespace.rs')
-rw-r--r-- | components/script/dom/bindings/namespace.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/components/script/dom/bindings/namespace.rs b/components/script/dom/bindings/namespace.rs index 64b7b0b2626..e6c730907a5 100644 --- a/components/script/dom/bindings/namespace.rs +++ b/components/script/dom/bindings/namespace.rs @@ -4,12 +4,14 @@ //! Machinery to initialise namespace objects. +use std::ptr; + +use js::jsapi::{JSClass, JSFunctionSpec}; +use js::rust::{HandleObject, MutableHandleObject}; + use crate::dom::bindings::guard::Guard; use crate::dom::bindings::interface::{create_object, define_on_global_object}; use crate::script_runtime::JSContext; -use js::jsapi::{JSClass, JSFunctionSpec}; -use js::rust::{HandleObject, MutableHandleObject}; -use std::ptr; /// The class of a namespace object. #[derive(Clone, Copy)] |