diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-09-23 15:02:56 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-09-23 15:02:56 -0600 |
commit | a7208869f2903e36f9b2f540b55b50283d7df466 (patch) | |
tree | 056e9dbc10fb3879b4a281296fe99e88490aacc3 /components/canvas/canvas_paint_task.rs | |
parent | 705ad72aee58b4fc636bca3a2784c7643048336d (diff) | |
parent | 889eec364b6e3df22d36581008289e6fbfb8b39f (diff) | |
download | servo-a7208869f2903e36f9b2f540b55b50283d7df466.tar.gz servo-a7208869f2903e36f9b2f540b55b50283d7df466.zip |
Auto merge of #7698 - Wafflespeanut:sorting, r=frewsxcv
sorted the declarations in various files...
This is a direct extract from my abandoned PR for a lint (#7546), along with some rather clumsy modifications (only on `components/script/dom/mod.rs` and `components/style/lib.rs`), because I had to sort some of the files again to make peace with tidy, which hasn't been educated about sorting yet!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7698)
<!-- Reviewable:end -->
Diffstat (limited to 'components/canvas/canvas_paint_task.rs')
-rw-r--r-- | components/canvas/canvas_paint_task.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/canvas/canvas_paint_task.rs b/components/canvas/canvas_paint_task.rs index cf179fc9600..5d39c26fbf8 100644 --- a/components/canvas/canvas_paint_task.rs +++ b/components/canvas/canvas_paint_task.rs @@ -2,10 +2,10 @@ * 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 azure::azure::{AzFloat, AzColor}; -use azure::azure_hl::{ColorPattern, PathBuilder, DrawSurfaceOptions, Filter}; -use azure::azure_hl::{DrawTarget, SurfaceFormat, BackendType, StrokeOptions, DrawOptions, Pattern}; -use azure::azure_hl::{JoinStyle, CapStyle, CompositionOp, AntialiasMode}; +use azure::azure::{AzColor, AzFloat}; +use azure::azure_hl::{AntialiasMode, CapStyle, CompositionOp, JoinStyle}; +use azure::azure_hl::{BackendType, DrawOptions, DrawTarget, Pattern, StrokeOptions, SurfaceFormat}; +use azure::azure_hl::{ColorPattern, DrawSurfaceOptions, Filter, PathBuilder}; use canvas_traits::*; use euclid::matrix2d::Matrix2D; use euclid::point::Point2D; @@ -19,7 +19,7 @@ use layers::platform::surface::NativeSurface; use num::ToPrimitive; use std::borrow::ToOwned; use std::mem; -use std::sync::mpsc::{channel, Sender}; +use std::sync::mpsc::{Sender, channel}; use util::opts; use util::task::spawn_named; use util::vec::byte_swap; |