diff options
| author | Ben Striegel <ben.striegel@gmail.com> | 2013-01-29 21:30:22 -0500 |
|---|---|---|
| committer | Ben Striegel <ben.striegel@gmail.com> | 2013-01-30 23:18:08 -0500 |
| commit | f08af9a7a56bd91475502ffb5921db461be63281 (patch) | |
| tree | 2b4369122679ffc0507cf97614c5ba2cb987a7a7 /src/libstd/io_util.rs | |
| parent | 12e8151fb0345d926b2e211e8088f8b89236baa4 (diff) | |
| download | rust-f08af9a7a56bd91475502ffb5921db461be63281.tar.gz rust-f08af9a7a56bd91475502ffb5921db461be63281.zip | |
RIMOV, round 5
find ./ -type f -name "*.rs" -exec sed -i "s/\&\[mut /\&mut \[/g" {} \;
Diffstat (limited to 'src/libstd/io_util.rs')
| -rw-r--r-- | src/libstd/io_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io_util.rs b/src/libstd/io_util.rs index fb410c19a76..9a90b811e44 100644 --- a/src/libstd/io_util.rs +++ b/src/libstd/io_util.rs @@ -43,7 +43,7 @@ pub impl BufReader { } impl BufReader: Reader { - fn read(&self, bytes: &[mut u8], len: uint) -> uint { + fn read(&self, bytes: &mut [u8], len: uint) -> uint { self.as_bytes_reader(|r| r.read(bytes, len) ) } fn read_byte(&self) -> int { |
