aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/documenttype.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/documenttype.rs')
-rw-r--r--components/script/dom/documenttype.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/documenttype.rs b/components/script/dom/documenttype.rs
index f323cd63d63..f55eaac6c8f 100644
--- a/components/script/dom/documenttype.rs
+++ b/components/script/dom/documenttype.rs
@@ -2,6 +2,8 @@
* 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 crate::dom::bindings::codegen::Bindings::DocumentTypeBinding::DocumentTypeMethods;
use crate::dom::bindings::codegen::UnionTypes::NodeOrString;
use crate::dom::bindings::error::ErrorResult;
@@ -10,7 +12,6 @@ use crate::dom::bindings::root::DomRoot;
use crate::dom::bindings::str::DOMString;
use crate::dom::document::Document;
use crate::dom::node::Node;
-use dom_struct::dom_struct;
// https://dom.spec.whatwg.org/#documenttype
/// The `DOCTYPE` tag.