File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2204,7 +2204,7 @@ impl<T> SpecFromIter<T, IntoIter<T>> for Vec<T> {
2204
2204
}
2205
2205
2206
2206
let mut vec = Vec :: new ( ) ;
2207
- iterator. move_to ( & mut vec) ;
2207
+ iterator. move_into ( & mut vec) ;
2208
2208
vec
2209
2209
}
2210
2210
}
@@ -2401,7 +2401,7 @@ impl<T> SpecExtend<T, IntoIter<T>> for Vec<T> {
2401
2401
} ;
2402
2402
return ;
2403
2403
}
2404
- iterator. move_to ( self ) ;
2404
+ iterator. move_into ( self ) ;
2405
2405
}
2406
2406
}
2407
2407
@@ -2959,7 +2959,7 @@ impl<T> IntoIter<T> {
2959
2959
}
2960
2960
2961
2961
/// Move remaining elements to the end of `dest`.
2962
- fn move_to ( mut self , dest : & mut Vec < T > ) {
2962
+ fn move_into ( mut self , dest : & mut Vec < T > ) {
2963
2963
unsafe {
2964
2964
dest. append_elements ( self . as_slice ( ) as _ ) ;
2965
2965
}
You can’t perform that action at this time.
0 commit comments