Fix warnings when compiling stdlib with --test
This commit is contained in:
parent
27a1834ce5
commit
e27cbeff37
26 changed files with 81 additions and 75 deletions
|
@ -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)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue