aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/inline.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-09-23 15:02:56 -0600
committerbors-servo <metajack+bors@gmail.com>2015-09-23 15:02:56 -0600
commita7208869f2903e36f9b2f540b55b50283d7df466 (patch)
tree056e9dbc10fb3879b4a281296fe99e88490aacc3 /components/layout/inline.rs
parent705ad72aee58b4fc636bca3a2784c7643048336d (diff)
parent889eec364b6e3df22d36581008289e6fbfb8b39f (diff)
downloadservo-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/layout/inline.rs')
-rw-r--r--components/layout/inline.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index b91cfd790bc..cdcc46e2ad9 100644
--- a/components/layout/inline.rs
+++ b/components/layout/inline.rs
@@ -9,8 +9,8 @@ use context::LayoutContext;
use display_list_builder::{FragmentDisplayListBuilding, InlineFlowDisplayListBuilding};
use euclid::{Point2D, Rect, Size2D};
use floats::{FloatKind, Floats, PlacementInfo};
-use flow::{MutableFlowUtils, EarlyAbsolutePositionInfo, OpaqueFlow};
-use flow::{self, BaseFlow, FlowClass, Flow, ForceNonfloatedFlag, IS_ABSOLUTELY_POSITIONED};
+use flow::{EarlyAbsolutePositionInfo, MutableFlowUtils, OpaqueFlow};
+use flow::{self, BaseFlow, Flow, FlowClass, ForceNonfloatedFlag, IS_ABSOLUTELY_POSITIONED};
use flow_ref;
use fragment::{CoordinateSystem, Fragment, FragmentBorderBoxIterator, SpecificFragmentInfo};
use gfx::display_list::OpaqueNode;
@@ -21,10 +21,8 @@ use layout_debug;
use model::IntrinsicISizesContribution;
use std::cmp::max;
use std::collections::VecDeque;
-use std::fmt;
-use std::isize;
-use std::mem;
use std::sync::Arc;
+use std::{fmt, isize, mem};
use style::computed_values::{display, overflow_x, position, text_align, text_justify};
use style::computed_values::{text_overflow, vertical_align, white_space};
use style::properties::ComputedValues;