about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-10-09 17:39:37 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-10-09 22:22:44 +1100
commite678435cab9cc8ddd668d4cb58ab82194c220382 (patch)
tree2255fb00fe6bb785dc20066c97333d5771e25e00 /src/libstd/rt
parent5442a473624f9d463a21508a5dbdd5a5ec326c15 (diff)
downloadrust-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.rs1
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) }
     };