]> git.lizzy.rs Git - rust.git/commitdiff
impl ExactSize for vec::MoveItems
authorAlexis Beingessner <a.beingessner@gmail.com>
Mon, 15 Sep 2014 03:25:08 +0000 (23:25 -0400)
committerAlexis Beingessner <a.beingessner@gmail.com>
Mon, 15 Sep 2014 03:25:08 +0000 (23:25 -0400)
src/libcollections/vec.rs

index a7005cf454db5fb9a5ba74b4a9013984034bf771..73781d034a6455e2770973d38100266b6c416420 100644 (file)
@@ -1662,6 +1662,8 @@ fn next_back<'a>(&'a mut self) -> Option<T> {
     }
 }
 
+impl<T> ExactSize<T> for MoveItems<T> {}
+
 #[unsafe_destructor]
 impl<T> Drop for MoveItems<T> {
     fn drop(&mut self) {