aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlserializer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/xmlserializer.rs')
-rw-r--r--components/script/dom/xmlserializer.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/components/script/dom/xmlserializer.rs b/components/script/dom/xmlserializer.rs
index 55f0753d8f4..dfbd49e306d 100644
--- a/components/script/dom/xmlserializer.rs
+++ b/components/script/dom/xmlserializer.rs
@@ -2,6 +2,10 @@
* 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 dom_struct::dom_struct;
+use js::rust::HandleObject;
+use xml5ever::serialize::{serialize, SerializeOpts, TraversalScope};
+
use crate::dom::bindings::codegen::Bindings::XMLSerializerBinding::XMLSerializerMethods;
use crate::dom::bindings::error::{Error, Fallible};
use crate::dom::bindings::reflector::{reflect_dom_object_with_proto, Reflector};
@@ -9,9 +13,6 @@ use crate::dom::bindings::root::{Dom, DomRoot};
use crate::dom::bindings::str::DOMString;
use crate::dom::node::Node;
use crate::dom::window::Window;
-use dom_struct::dom_struct;
-use js::rust::HandleObject;
-use xml5ever::serialize::{serialize, SerializeOpts, TraversalScope};
#[dom_struct]
pub struct XMLSerializer {