about summary refs log tree commit diff
path: root/src/libsyntax/owned_slice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/owned_slice.rs')
-rw-r--r--src/libsyntax/owned_slice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/owned_slice.rs b/src/libsyntax/owned_slice.rs
index 8e418e46921..3023c547fb0 100644
--- a/src/libsyntax/owned_slice.rs
+++ b/src/libsyntax/owned_slice.rs
@@ -45,7 +45,7 @@ impl<T> OwnedSlice<T> {
         &*self.data
     }
 
-    pub fn move_iter(self) -> vec::MoveItems<T> {
+    pub fn move_iter(self) -> vec::IntoIter<T> {
         self.into_vec().into_iter()
     }