about summary refs log tree commit diff
path: root/library/core/tests/array.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/tests/array.rs')
-rw-r--r--library/core/tests/array.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/core/tests/array.rs b/library/core/tests/array.rs
index e7773d138c2..b6d18f1ec38 100644
--- a/library/core/tests/array.rs
+++ b/library/core/tests/array.rs
@@ -259,7 +259,8 @@ fn iterator_drops() {
 #[test]
 #[cfg_attr(not(panic = "unwind"), ignore = "test requires unwinding support")]
 fn array_default_impl_avoids_leaks_on_panic() {
-    use core::sync::atomic::{AtomicUsize, Ordering::Relaxed};
+    use core::sync::atomic::AtomicUsize;
+    use core::sync::atomic::Ordering::Relaxed;
     static COUNTER: AtomicUsize = AtomicUsize::new(0);
     #[derive(Debug)]
     struct Bomb(#[allow(dead_code)] usize);