diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-11-06 09:32:37 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-11-25 17:41:54 -0800 |
| commit | b299c2b57db90025cbf59d4b5152c9c37db6bc63 (patch) | |
| tree | f3476a915920ef8a42761cb740dc6f4e1f64844f /src/libsyntax/owned_slice.rs | |
| parent | a86f72d9a2adc6d65f2ba0990caca35c1a3f622d (diff) | |
| download | rust-b299c2b57db90025cbf59d4b5152c9c37db6bc63.tar.gz rust-b299c2b57db90025cbf59d4b5152c9c37db6bc63.zip | |
Fallout from stabilization
Diffstat (limited to 'src/libsyntax/owned_slice.rs')
| -rw-r--r-- | src/libsyntax/owned_slice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/owned_slice.rs b/src/libsyntax/owned_slice.rs index f622e2d6112..b31b20c80c2 100644 --- a/src/libsyntax/owned_slice.rs +++ b/src/libsyntax/owned_slice.rs @@ -145,7 +145,7 @@ impl<T: PartialEq> PartialEq for OwnedSlice<T> { impl<T: Eq> Eq for OwnedSlice<T> {} impl<T> FromIterator<T> for OwnedSlice<T> { - fn from_iter<I: Iterator<T>>(mut iter: I) -> OwnedSlice<T> { + fn from_iter<I: Iterator<T>>(iter: I) -> OwnedSlice<T> { OwnedSlice::from_vec(iter.collect()) } } |
