From a15d33a10e8a0aa1c02fa44ede50a63b95606b8f Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 1 Nov 2018 14:09:54 +0100 Subject: `cargo fix --edition` --- components/style/rule_tree/mod.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'components/style/rule_tree/mod.rs') diff --git a/components/style/rule_tree/mod.rs b/components/style/rule_tree/mod.rs index c1b81889289..319d236d328 100644 --- a/components/style/rule_tree/mod.rs +++ b/components/style/rule_tree/mod.rs @@ -6,21 +6,21 @@ //! The rule tree. -use applicable_declarations::ApplicableDeclarationList; +use crate::applicable_declarations::ApplicableDeclarationList; +use crate::properties::{Importance, LonghandIdSet, PropertyDeclarationBlock}; +use crate::shared_lock::{Locked, SharedRwLockReadGuard, StylesheetGuards}; +use crate::stylesheets::StyleRule; +use crate::thread_state; #[cfg(feature = "gecko")] use gecko::selector_parser::PseudoElement; #[cfg(feature = "gecko")] use malloc_size_of::{MallocSizeOf, MallocSizeOfOps}; -use properties::{Importance, LonghandIdSet, PropertyDeclarationBlock}; use servo_arc::{Arc, ArcBorrow, ArcUnion, ArcUnionBorrow}; -use shared_lock::{Locked, SharedRwLockReadGuard, StylesheetGuards}; use smallvec::SmallVec; use std::io::{self, Write}; use std::mem; use std::ptr; use std::sync::atomic::{AtomicPtr, AtomicUsize, Ordering}; -use stylesheets::StyleRule; -use thread_state; /// The rule tree, the structure servo uses to preserve the results of selector /// matching. @@ -1149,7 +1149,7 @@ impl StrongRuleNode { unsafe fn assert_free_list_has_no_duplicates_or_null(&self) { assert!(cfg!(debug_assertions), "This is an expensive check!"); - use hash::FxHashSet; + use crate::hash::FxHashSet; let me = &*self.ptr(); assert!(me.is_root()); @@ -1430,7 +1430,7 @@ impl StrongRuleNode { &self, guards: &StylesheetGuards, ) -> (LonghandIdSet, bool) { - use properties::PropertyDeclarationId; + use crate::properties::PropertyDeclarationId; // We want to iterate over cascade levels that override the animations // level, i.e. !important levels and the transitions level. -- cgit v1.2.3