diff options
| author | Isaac van Bakel <ivb@vanbakel.io> | 2017-08-01 13:03:03 +0100 |
|---|---|---|
| committer | Isaac van Bakel <ivb@vanbakel.io> | 2017-08-01 23:01:24 +0100 |
| commit | 400075d9d9b6410c9f7952ca52c35806b46b3177 (patch) | |
| tree | c6e8344e69689f5c784e695b062953582ad5c21c /src/librustc_data_structures/indexed_vec.rs | |
| parent | 35b9bd0559746196fe0bc9f39b86c47d8c3afb8c (diff) | |
| download | rust-400075d9d9b6410c9f7952ca52c35806b46b3177.tar.gz rust-400075d9d9b6410c9f7952ca52c35806b46b3177.zip | |
Fixed all unnecessary muts in language core
Diffstat (limited to 'src/librustc_data_structures/indexed_vec.rs')
| -rw-r--r-- | src/librustc_data_structures/indexed_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/indexed_vec.rs b/src/librustc_data_structures/indexed_vec.rs index 29ac650aa70..1f44378c9e6 100644 --- a/src/librustc_data_structures/indexed_vec.rs +++ b/src/librustc_data_structures/indexed_vec.rs @@ -259,7 +259,7 @@ impl<'a, I: Idx, T> IntoIterator for &'a mut IndexVec<I, T> { type IntoIter = slice::IterMut<'a, T>; #[inline] - fn into_iter(mut self) -> slice::IterMut<'a, T> { + fn into_iter(self) -> slice::IterMut<'a, T> { self.raw.iter_mut() } } |
