diff options
Diffstat (limited to 'components/script/dom/domexception.rs')
-rw-r--r-- | components/script/dom/domexception.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/components/script/dom/domexception.rs b/components/script/dom/domexception.rs index e5462fa4376..c058136a8b5 100644 --- a/components/script/dom/domexception.rs +++ b/components/script/dom/domexception.rs @@ -2,8 +2,12 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -use crate::dom::bindings::codegen::Bindings::DOMExceptionBinding::DOMExceptionConstants; -use crate::dom::bindings::codegen::Bindings::DOMExceptionBinding::DOMExceptionMethods; +use dom_struct::dom_struct; +use js::rust::HandleObject; + +use crate::dom::bindings::codegen::Bindings::DOMExceptionBinding::{ + DOMExceptionConstants, DOMExceptionMethods, +}; use crate::dom::bindings::error::Error; use crate::dom::bindings::reflector::{ reflect_dom_object, reflect_dom_object_with_proto, Reflector, @@ -11,8 +15,6 @@ use crate::dom::bindings::reflector::{ use crate::dom::bindings::root::DomRoot; use crate::dom::bindings::str::DOMString; use crate::dom::globalscope::GlobalScope; -use dom_struct::dom_struct; -use js::rust::HandleObject; #[repr(u16)] #[derive(Clone, Copy, Debug, Eq, JSTraceable, MallocSizeOf, Ord, PartialEq, PartialOrd)] |