aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmllinkelement.rs
diff options
context:
space:
mode:
authorSimon Wülker <simon.wuelker@arcor.de>2025-03-03 12:26:53 +0100
committerGitHub <noreply@github.com>2025-03-03 11:26:53 +0000
commit3d320fa96ae2ca95a720c454c47ee7827864c5af (patch)
tree1b7718d574cb9164d924b7571760d90d6d2099c4 /components/script/dom/htmllinkelement.rs
parent6300e820b4e3fbfcec260048f931528d4998d5e4 (diff)
downloadservo-3d320fa96ae2ca95a720c454c47ee7827864c5af.tar.gz
servo-3d320fa96ae2ca95a720c454c47ee7827864c5af.zip
Update rustfmt to the 2024 style edition (#35764)
* Use 2024 style edition Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Reformat all code Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Diffstat (limited to 'components/script/dom/htmllinkelement.rs')
-rw-r--r--components/script/dom/htmllinkelement.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs
index 62e77d0088c..a321cd25fc9 100644
--- a/components/script/dom/htmllinkelement.rs
+++ b/components/script/dom/htmllinkelement.rs
@@ -10,7 +10,7 @@ use base::id::WebViewId;
use cssparser::{Parser as CssParser, ParserInput};
use dom_struct::dom_struct;
use embedder_traits::EmbedderMsg;
-use html5ever::{local_name, namespace_url, ns, LocalName, Prefix};
+use html5ever::{LocalName, Prefix, local_name, namespace_url, ns};
use js::rust::HandleObject;
use net_traits::policy_container::PolicyContainer;
use net_traits::request::{
@@ -44,9 +44,9 @@ use crate::dom::cssstylesheet::CSSStyleSheet;
use crate::dom::document::Document;
use crate::dom::domtokenlist::DOMTokenList;
use crate::dom::element::{
- cors_setting_for_element, referrer_policy_for_element, reflect_cross_origin_attribute,
- reflect_referrer_policy_attribute, set_cross_origin_attribute, AttributeMutation, Element,
- ElementCreator,
+ AttributeMutation, Element, ElementCreator, cors_setting_for_element,
+ referrer_policy_for_element, reflect_cross_origin_attribute, reflect_referrer_policy_attribute,
+ set_cross_origin_attribute,
};
use crate::dom::htmlelement::HTMLElement;
use crate::dom::node::{BindContext, Node, NodeTraits, UnbindContext};
@@ -55,7 +55,7 @@ use crate::dom::stylesheet::StyleSheet as DOMStyleSheet;
use crate::dom::virtualmethods::VirtualMethods;
use crate::fetch::create_a_potential_cors_request;
use crate::links::LinkRelations;
-use crate::network_listener::{submit_timing, PreInvoke, ResourceTimingListener};
+use crate::network_listener::{PreInvoke, ResourceTimingListener, submit_timing};
use crate::script_runtime::CanGc;
use crate::stylesheet_loader::{StylesheetContextSource, StylesheetLoader, StylesheetOwner};