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/devtools.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/devtools.rs')
-rw-r--r-- | components/script/devtools.rs | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/components/script/devtools.rs b/components/script/devtools.rs index 8ff911a6b78..b5b7afe598c 100644 --- a/components/script/devtools.rs +++ b/components/script/devtools.rs @@ -2,6 +2,19 @@ * 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 std::rc::Rc; +use std::str; + +use devtools_traits::{ + AutoMargins, ComputedNodeLayout, EvaluateJSReply, Modification, NodeInfo, TimelineMarker, + TimelineMarkerType, +}; +use ipc_channel::ipc::IpcSender; +use js::jsval::UndefinedValue; +use js::rust::ToString; +use msg::constellation_msg::PipelineId; +use uuid::Uuid; + use crate::dom::bindings::codegen::Bindings::CSSStyleDeclarationBinding::CSSStyleDeclarationMethods; use crate::dom::bindings::codegen::Bindings::DOMRectBinding::DOMRectMethods; use crate::dom::bindings::codegen::Bindings::DocumentBinding::DocumentMethods; @@ -19,15 +32,6 @@ use crate::dom::node::{window_from_node, Node, ShadowIncluding}; use crate::realms::enter_realm; use crate::script_module::ScriptFetchOptions; use crate::script_thread::Documents; -use devtools_traits::{AutoMargins, ComputedNodeLayout, TimelineMarkerType}; -use devtools_traits::{EvaluateJSReply, Modification, NodeInfo, TimelineMarker}; -use ipc_channel::ipc::IpcSender; -use js::jsval::UndefinedValue; -use js::rust::ToString; -use msg::constellation_msg::PipelineId; -use std::rc::Rc; -use std::str; -use uuid::Uuid; #[allow(unsafe_code)] pub fn handle_evaluate_js(global: &GlobalScope, eval: String, reply: IpcSender<EvaluateJSReply>) { |