about summary refs log tree commit diff
path: root/src/liballoc/linked_list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/liballoc/linked_list.rs')
-rw-r--r--src/liballoc/linked_list.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc/linked_list.rs b/src/liballoc/linked_list.rs
index f897feb7afa..fac6acaca61 100644
--- a/src/liballoc/linked_list.rs
+++ b/src/liballoc/linked_list.rs
@@ -1269,10 +1269,11 @@ unsafe impl<'a, T: Sync> Sync for IterMut<'a, T> {}
 
 #[cfg(test)]
 mod tests {
-    use std::__rand::{thread_rng, Rng};
     use std::thread;
     use std::vec::Vec;
 
+    use rand::{thread_rng, Rng};
+
     use super::{LinkedList, Node};
 
     #[cfg(test)]