aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/selector_map.rs
diff options
context:
space:
mode:
authorPyfisch <pyfisch@gmail.com>2018-11-06 20:38:02 +0100
committerPyfisch <pyfisch@gmail.com>2018-11-06 22:35:07 +0100
commit9e92eb205a2a12fe0be883e42cb7f82deebc9031 (patch)
tree48c1660b942d5dfffb289dc5d4110604caca54fb /components/style/selector_map.rs
parent4a947dd7195c3ece1e4996a6bdf7c300bf6ec655 (diff)
downloadservo-9e92eb205a2a12fe0be883e42cb7f82deebc9031.tar.gz
servo-9e92eb205a2a12fe0be883e42cb7f82deebc9031.zip
Reorder imports
Diffstat (limited to 'components/style/selector_map.rs')
-rw-r--r--components/style/selector_map.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/style/selector_map.rs b/components/style/selector_map.rs
index 1e35f748917..d9bf0771084 100644
--- a/components/style/selector_map.rs
+++ b/components/style/selector_map.rs
@@ -5,13 +5,12 @@
//! A data structure to efficiently index structs containing selectors by local
//! name, ids and hash.
-use {Atom, LocalName, Namespace, WeakAtom};
use applicable_declarations::ApplicableDeclarationList;
use context::QuirksMode;
use dom::TElement;
use fallible::FallibleVec;
-use hash::{HashMap, HashSet};
use hash::map as hash_map;
+use hash::{HashMap, HashSet};
use hashglobe::FailedAllocationError;
use precomputed_hash::PrecomputedHash;
use rule_tree::{CascadeLevel, ShadowCascadeOrder};
@@ -21,6 +20,7 @@ use selectors::parser::{Combinator, Component, SelectorIter};
use smallvec::SmallVec;
use std::hash::{BuildHasherDefault, Hash, Hasher};
use stylist::Rule;
+use {Atom, LocalName, Namespace, WeakAtom};
/// A hasher implementation that doesn't hash anything, because it expects its
/// input to be a suitable u32 hash.