aboutsummaryrefslogtreecommitdiffstats
path: root/components/style_traits/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style_traits/lib.rs')
-rw-r--r--components/style_traits/lib.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/components/style_traits/lib.rs b/components/style_traits/lib.rs
index addf538d754..1fe46743293 100644
--- a/components/style_traits/lib.rs
+++ b/components/style_traits/lib.rs
@@ -11,17 +11,16 @@
#![deny(unsafe_code, missing_docs)]
use bitflags::bitflags;
+use cssparser::{CowRcStr, Token};
use malloc_size_of_derive::MallocSizeOf;
+use selectors::parser::SelectorParseErrorKind;
use serde::{Deserialize, Serialize};
+#[cfg(feature = "servo")]
+use servo_atoms::Atom;
use size_of_test::size_of_test;
#[cfg(feature = "servo")]
pub use webrender_api::units::DevicePixel;
-use cssparser::{CowRcStr, Token};
-use selectors::parser::SelectorParseErrorKind;
-#[cfg(feature = "servo")]
-use servo_atoms::Atom;
-
/// One hardware pixel.
///
/// This unit corresponds to the smallest addressable element of the display hardware.