diff options
Diffstat (limited to 'components/script/dom/comment.rs')
-rw-r--r-- | components/script/dom/comment.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/comment.rs b/components/script/dom/comment.rs index 4c5ca9d488e..955b6bab6f6 100644 --- a/components/script/dom/comment.rs +++ b/components/script/dom/comment.rs @@ -2,6 +2,9 @@ * 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 crate::dom::bindings::codegen::Bindings::WindowBinding::WindowMethods; use crate::dom::bindings::error::Fallible; use crate::dom::bindings::root::DomRoot; @@ -10,8 +13,6 @@ use crate::dom::characterdata::CharacterData; use crate::dom::document::Document; use crate::dom::node::Node; use crate::dom::window::Window; -use dom_struct::dom_struct; -use js::rust::HandleObject; /// An HTML comment. #[dom_struct] |