diff options
author | Samson <16504129+sagudev@users.noreply.github.com> | 2023-09-11 21:16:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-11 19:16:54 +0000 |
commit | aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4 (patch) | |
tree | 68dec1a9d53f4ed564843a9580fba70bf90dbef1 /components/script/dom/cssrulelist.rs | |
parent | 413da4ca69d3013528c09bbaf38629a72384372d (diff) | |
download | servo-aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4.tar.gz servo-aad2dccc9c9f6b89922c07933cfa7087a8cd1ec4.zip |
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting
* Reformat all imports
Diffstat (limited to 'components/script/dom/cssrulelist.rs')
-rw-r--r-- | components/script/dom/cssrulelist.rs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/components/script/dom/cssrulelist.rs b/components/script/dom/cssrulelist.rs index df0ab6134e9..feaf9e819ba 100644 --- a/components/script/dom/cssrulelist.rs +++ b/components/script/dom/cssrulelist.rs @@ -4,6 +4,14 @@ #![allow(unsafe_code)] +use dom_struct::dom_struct; +use servo_arc::Arc; +use style::shared_lock::Locked; +use style::stylesheets::{ + AllowImportRules, CssRules, CssRulesHelpers, KeyframesRule, RulesMutateError, + StylesheetLoader as StyleStylesheetLoader, +}; + use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::CSSRuleListBinding::CSSRuleListMethods; use crate::dom::bindings::error::{Error, ErrorResult, Fallible}; @@ -15,13 +23,6 @@ use crate::dom::cssstylesheet::CSSStyleSheet; use crate::dom::htmlelement::HTMLElement; use crate::dom::window::Window; use crate::stylesheet_loader::StylesheetLoader; -use dom_struct::dom_struct; -use servo_arc::Arc; -use style::shared_lock::Locked; -use style::stylesheets::StylesheetLoader as StyleStylesheetLoader; -use style::stylesheets::{ - AllowImportRules, CssRules, CssRulesHelpers, KeyframesRule, RulesMutateError, -}; unsafe_no_jsmanaged_fields!(RulesSource); |