about summary refs log tree commit diff
path: root/tests/ui/threads-sendsync/send_str_hashmap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/threads-sendsync/send_str_hashmap.rs')
-rw-r--r--tests/ui/threads-sendsync/send_str_hashmap.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/ui/threads-sendsync/send_str_hashmap.rs b/tests/ui/threads-sendsync/send_str_hashmap.rs
index 9cbb0bed447..2675b162190 100644
--- a/tests/ui/threads-sendsync/send_str_hashmap.rs
+++ b/tests/ui/threads-sendsync/send_str_hashmap.rs
@@ -1,9 +1,7 @@
 //@ run-pass
-use std::collections::HashMap;
 use std::borrow::Cow;
-
-use std::borrow::Cow::Borrowed as B;
-use std::borrow::Cow::Owned as O;
+use std::borrow::Cow::{Borrowed as B, Owned as O};
+use std::collections::HashMap;
 
 type SendStr = Cow<'static, str>;