diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2015-01-31 09:17:50 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2015-02-02 13:40:18 -0500 |
| commit | 3484706c38272828efc50b2553578afc62230dbb (patch) | |
| tree | 21352439579e8da48a79323078e72425360c925b /src/libstd/sys | |
| parent | fd702702ee90ddb47d207f8886818c7f91600713 (diff) | |
| download | rust-3484706c38272828efc50b2553578afc62230dbb.tar.gz rust-3484706c38272828efc50b2553578afc62230dbb.zip | |
remove unused mut qualifiers
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/common/wtf8.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/common/wtf8.rs b/src/libstd/sys/common/wtf8.rs index 1a898e73cda..b30af10986b 100644 --- a/src/libstd/sys/common/wtf8.rs +++ b/src/libstd/sys/common/wtf8.rs @@ -366,7 +366,7 @@ impl FromIterator<CodePoint> for Wtf8Buf { /// This replaces surrogate code point pairs with supplementary code points, /// like concatenating ill-formed UTF-16 strings effectively would. impl Extend<CodePoint> for Wtf8Buf { - fn extend<T: Iterator<Item=CodePoint>>(&mut self, mut iterator: T) { + fn extend<T: Iterator<Item=CodePoint>>(&mut self, iterator: T) { let (low, _high) = iterator.size_hint(); // Lower bound of one byte per code point (ASCII only) self.bytes.reserve(low); |
