about summary refs log tree commit diff
path: root/src/libstd/rand/reader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/rand/reader.rs')
-rw-r--r--src/libstd/rand/reader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rand/reader.rs b/src/libstd/rand/reader.rs
index 4f220531237..c1bb6970f71 100644
--- a/src/libstd/rand/reader.rs
+++ b/src/libstd/rand/reader.rs
@@ -10,10 +10,10 @@
 
 //! A wrapper around any Reader to treat it as an RNG.
 
-use collections::Collection;
 use io::Reader;
 use rand::Rng;
 use result::{Ok, Err};
+use slice::ImmutableSlice;
 
 /// An RNG that reads random bytes straight from a `Reader`. This will
 /// work best with an infinite reader, but this is not required.