diff options
author | Pyfisch <pyfisch@gmail.com> | 2018-11-06 20:38:02 +0100 |
---|---|---|
committer | Pyfisch <pyfisch@gmail.com> | 2018-11-06 22:35:07 +0100 |
commit | 9e92eb205a2a12fe0be883e42cb7f82deebc9031 (patch) | |
tree | 48c1660b942d5dfffb289dc5d4110604caca54fb /components/servo_arc/lib.rs | |
parent | 4a947dd7195c3ece1e4996a6bdf7c300bf6ec655 (diff) | |
download | servo-9e92eb205a2a12fe0be883e42cb7f82deebc9031.tar.gz servo-9e92eb205a2a12fe0be883e42cb7f82deebc9031.zip |
Reorder imports
Diffstat (limited to 'components/servo_arc/lib.rs')
-rw-r--r-- | components/servo_arc/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/servo_arc/lib.rs b/components/servo_arc/lib.rs index 05296165acc..1a80f057b9b 100644 --- a/components/servo_arc/lib.rs +++ b/components/servo_arc/lib.rs @@ -32,7 +32,6 @@ use nodrop::NoDrop; #[cfg(feature = "servo")] use serde::{Deserialize, Serialize}; use stable_deref_trait::{CloneStableDeref, StableDeref}; -use std::{isize, usize}; use std::borrow; use std::cmp::Ordering; use std::convert::From; @@ -48,6 +47,7 @@ use std::ptr; use std::slice; use std::sync::atomic; use std::sync::atomic::Ordering::{Acquire, Relaxed, Release}; +use std::{isize, usize}; // Private macro to get the offset of a struct field in bytes from the address of the struct. macro_rules! offset_of { @@ -1170,11 +1170,11 @@ impl<A: fmt::Debug, B: fmt::Debug> fmt::Debug for ArcUnion<A, B> { #[cfg(test)] mod tests { + use super::{Arc, HeaderWithLength, ThinArc}; use std::clone::Clone; use std::ops::Drop; use std::sync::atomic; use std::sync::atomic::Ordering::{Acquire, SeqCst}; - use super::{Arc, HeaderWithLength, ThinArc}; #[derive(PartialEq)] struct Canary(*mut atomic::AtomicUsize); |