1
Fork 0

Fix warnings when compiling stdlib with --test

This commit is contained in:
Florian Hahn 2015-12-18 13:29:49 +01:00
parent 27a1834ce5
commit e27cbeff37
26 changed files with 81 additions and 75 deletions

View file

@ -1983,7 +1983,7 @@ mod tests {
b.iter(|| {
let mut lr = repeat(1).take(10000000);
let mut vec = Vec::with_capacity(1024);
super::read_to_end(&mut lr, &mut vec);
super::read_to_end(&mut lr, &mut vec)
});
}
}