diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 17:23:56 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-06 15:26:02 +0100 |
commit | 76e59a46d3aff701b2e8dfbaf047f6d5c3edcced (patch) | |
tree | ee36ca9b3f981d01184871fe72fbc31347086e92 /components/script_traits | |
parent | 45f7199eee82c66637ec68287eafa40a651001c4 (diff) | |
download | servo-76e59a46d3aff701b2e8dfbaf047f6d5c3edcced.tar.gz servo-76e59a46d3aff701b2e8dfbaf047f6d5c3edcced.zip |
Sort `use` statements
Diffstat (limited to 'components/script_traits')
-rw-r--r-- | components/script_traits/lib.rs | 2 | ||||
-rw-r--r-- | components/script_traits/script_msg.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index c63481efc57..4dc483e8101 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -45,6 +45,7 @@ pub mod webdriver_msg; use bluetooth_traits::BluetoothRequest; use canvas_traits::webgl::WebGLPipeline; +use crate::webdriver_msg::{LoadStatus, WebDriverScriptCommand}; use devtools_traits::{DevtoolScriptControlMsg, ScriptToDevtoolsControlMsg, WorkerId}; use euclid::{Length, Point2D, Vector2D, Rect, TypedSize2D, TypedScale}; use gfx_traits::Epoch; @@ -74,7 +75,6 @@ use std::sync::Arc; use style_traits::CSSPixel; use style_traits::SpeculativePainter; use style_traits::cursor::CursorKind; -use crate::webdriver_msg::{LoadStatus, WebDriverScriptCommand}; use webrender_api::{DevicePixel, DeviceUintSize, DocumentId, ExternalScrollId, ImageKey, RenderApiSender}; use webvr_traits::{WebVREvent, WebVRMsg}; diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index 5913525a8ab..b77524f448b 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -2,6 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +use canvas_traits::canvas::{CanvasMsg, CanvasId}; use crate::AnimationState; use crate::AuxiliaryBrowsingContextLoadInfo; use crate::DocumentState; @@ -11,7 +12,6 @@ use crate::LayoutControlMsg; use crate::LoadData; use crate::WorkerGlobalScopeInit; use crate::WorkerScriptLoadOrigin; -use canvas_traits::canvas::{CanvasMsg, CanvasId}; use devtools_traits::{ScriptToDevtoolsControlMsg, WorkerId}; use embedder_traits::EmbedderMsg; use euclid::{Size2D, TypedSize2D}; |