diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-06 22:33:37 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-01-07 23:51:38 -0800 |
| commit | bcb1c381a38f8f36a71323bbf12d55afc8627d90 (patch) | |
| tree | 845fbeceb532354888cb7b3cad9c184e249afc9a /src/libstd/rand/rand_impls.rs | |
| parent | c4d36b85a0181575319168ab080989c71b935b20 (diff) | |
| download | rust-bcb1c381a38f8f36a71323bbf12d55afc8627d90.tar.gz rust-bcb1c381a38f8f36a71323bbf12d55afc8627d90.zip | |
stdtest: Fix all leaked trait imports
Diffstat (limited to 'src/libstd/rand/rand_impls.rs')
| -rw-r--r-- | src/libstd/rand/rand_impls.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/rand/rand_impls.rs b/src/libstd/rand/rand_impls.rs index dd6edca94ac..1c90ef148fc 100644 --- a/src/libstd/rand/rand_impls.rs +++ b/src/libstd/rand/rand_impls.rs @@ -226,9 +226,8 @@ impl<T: Rand + 'static> Rand for @T { #[cfg(test)] mod tests { + use prelude::*; use rand::{Rng, task_rng, Open01, Closed01}; - use iter::range; - use option::{None, Some}; struct ConstantRng(u64); impl Rng for ConstantRng { |
