diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-10-09 17:39:37 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-10-09 22:22:44 +1100 |
| commit | e678435cab9cc8ddd668d4cb58ab82194c220382 (patch) | |
| tree | 2255fb00fe6bb785dc20066c97333d5771e25e00 /src/libstd/rt | |
| parent | 5442a473624f9d463a21508a5dbdd5a5ec326c15 (diff) | |
| download | rust-e678435cab9cc8ddd668d4cb58ab82194c220382.tar.gz rust-e678435cab9cc8ddd668d4cb58ab82194c220382.zip | |
std::rand: Minor clean-up of comments & add a missing default method.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/sched.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/rt/sched.rs b/src/libstd/rt/sched.rs index e5cbadda23d..ee43ced44ab 100644 --- a/src/libstd/rt/sched.rs +++ b/src/libstd/rt/sched.rs @@ -863,7 +863,6 @@ fn new_sched_rng() -> XorShiftRng { use iter::Iterator; use rand::SeedableRng; - // XXX: this could use io::native::file, when it works. let fd = do "/dev/urandom".with_c_str |name| { unsafe { libc::open(name, libc::O_RDONLY, 0) } }; |
