about summary refs log tree commit diff
path: root/src/liballoc/task.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-03 08:27:44 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-02-03 08:27:44 +0100
commit2396780cdaedf097dd6a8f3927749bcaf5b1238b (patch)
tree297f6254da34163ba06af6a5186b80b2fd9b4fa7 /src/liballoc/task.rs
parent285106a40e70cd5b240625749e4eac8fce96fcf9 (diff)
liballoc: revert nested imports style changes.
Diffstat (limited to 'src/liballoc/task.rs')
-rw-r--r--src/liballoc/task.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/liballoc/task.rs b/src/liballoc/task.rs
index 0bf1ff35cc1..2261dabe277 100644
--- a/src/liballoc/task.rs
+++ b/src/liballoc/task.rs
@@ -8,11 +8,9 @@ pub use if_arc::*;
 #[cfg(all(target_has_atomic = "ptr", target_has_atomic = "cas"))]
 mod if_arc {
     use super::*;
-    use core::{
-        marker::PhantomData,
-        mem,
-        ptr::{self, NonNull},
-    };
+    use core::marker::PhantomData;
+    use core::mem;
+    use core::ptr::{self, NonNull};
     use crate::sync::Arc;
 
     /// A way of waking up a specific task.