diff options
| author | bors <bors@rust-lang.org> | 2014-09-16 17:06:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-16 17:06:00 +0000 |
| commit | 828e075abd8ee2f8c16f6cb1b93c0d99307e704d (patch) | |
| tree | 324283e256d504bf028fcdd9c929a1ca2f826d74 | |
| parent | 946654a721d6fd5eeb91e93293cdc2cba83c78b9 (diff) | |
| parent | 975569b380618df1dd4a458e17348a3124767513 (diff) | |
| download | rust-828e075abd8ee2f8c16f6cb1b93c0d99307e704d.tar.gz rust-828e075abd8ee2f8c16f6cb1b93c0d99307e704d.zip | |
auto merge of #17266 : Gankro/rust/vec-move, r=alexcrichton
Seems to correctly report exact size, so it should claim to do so formally.
| -rw-r--r-- | src/libcollections/vec.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index c933690b58f..5215e8aaab8 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -1660,6 +1660,8 @@ impl<T> DoubleEndedIterator<T> for MoveItems<T> { } } +impl<T> ExactSize<T> for MoveItems<T> {} + #[unsafe_destructor] impl<T> Drop for MoveItems<T> { fn drop(&mut self) { |
