diff options
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r-- | components/script/dom/htmlanchorelement.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs index 70452f5b3ef..ea7fe80bf68 100644 --- a/components/script/dom/htmlanchorelement.rs +++ b/components/script/dom/htmlanchorelement.rs @@ -6,7 +6,7 @@ use std::cell::Cell; use std::default::Default; use dom_struct::dom_struct; -use html5ever::{local_name, LocalName, Prefix}; +use html5ever::{LocalName, Prefix, local_name}; use js::rust::HandleObject; use num_traits::ToPrimitive; use servo_atoms::Atom; @@ -24,7 +24,7 @@ use crate::dom::bindings::root::{DomRoot, MutNullableDom}; use crate::dom::bindings::str::{DOMString, USVString}; use crate::dom::document::Document; use crate::dom::domtokenlist::DOMTokenList; -use crate::dom::element::{reflect_referrer_policy_attribute, AttributeMutation, Element}; +use crate::dom::element::{AttributeMutation, Element, reflect_referrer_policy_attribute}; use crate::dom::event::Event; use crate::dom::eventtarget::EventTarget; use crate::dom::htmlelement::HTMLElement; @@ -33,7 +33,7 @@ use crate::dom::htmlimageelement::HTMLImageElement; use crate::dom::mouseevent::MouseEvent; use crate::dom::node::{BindContext, Node}; use crate::dom::virtualmethods::VirtualMethods; -use crate::links::{follow_hyperlink, LinkRelations}; +use crate::links::{LinkRelations, follow_hyperlink}; use crate::script_runtime::CanGc; #[dom_struct] |