auto merge of #8877 : bouk/rust/master, r=sanxiyn

Ran into a missing space in the stdlib source
This commit is contained in:
bors 2013-08-30 09:45:39 -07:00
commit 7077aefb10

View File

@ -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); }