diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-09-14 20:27:36 -0700 | 
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-09-16 14:37:48 -0700 | 
| commit | fc525eeb4ec3443d29bce677f589b19f31c189bb (patch) | |
| tree | d807bad5c91171751157a945dde963dcfd4ea95e /src/libstd/ascii.rs | |
| parent | d8dfe1957b6541de8fe2797e248fe4bd2fac02d9 (diff) | |
| download | rust-fc525eeb4ec3443d29bce677f589b19f31c189bb.tar.gz rust-fc525eeb4ec3443d29bce677f589b19f31c189bb.zip | |
Fallout from renaming
Diffstat (limited to 'src/libstd/ascii.rs')
| -rw-r--r-- | src/libstd/ascii.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/libstd/ascii.rs b/src/libstd/ascii.rs index f7b23163dfe..fd8432ded8b 100644 --- a/src/libstd/ascii.rs +++ b/src/libstd/ascii.rs @@ -464,7 +464,7 @@ impl<'a> AsciiExt<Vec<u8>> for &'a [u8] { impl OwnedAsciiExt for Vec<u8> { #[inline] fn into_ascii_upper(mut self) -> Vec<u8> { - for byte in self.mut_iter() { + for byte in self.iter_mut() { *byte = ASCII_UPPER_MAP[*byte as uint]; } self @@ -472,7 +472,7 @@ impl OwnedAsciiExt for Vec<u8> { #[inline] fn into_ascii_lower(mut self) -> Vec<u8> { - for byte in self.mut_iter() { + for byte in self.iter_mut() { *byte = ASCII_LOWER_MAP[*byte as uint]; } self | 
