auto merge of #8877 : bouk/rust/master, r=sanxiyn
Ran into a missing space in the stdlib source
This commit is contained in:
commit
7077aefb10
1 changed files with 1 additions and 1 deletions
|
@ -619,7 +619,7 @@ pub trait ReaderUtil {
|
|||
|
||||
impl<T:Reader> ReaderUtil for T {
|
||||
|
||||
fn read_bytes(&self,len: uint) -> ~[u8] {
|
||||
fn read_bytes(&self, len: uint) -> ~[u8] {
|
||||
let mut bytes = vec::with_capacity(len);
|
||||
unsafe { vec::raw::set_len(&mut bytes, len); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue