diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 47afc78bc1213..ca68a54a39f98 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -1511,6 +1511,9 @@ pub struct IntoIter { end: *const T } +unsafe impl Send for IntoIter { } +unsafe impl Sync for IntoIter { } + impl IntoIter { #[inline] /// Drops all items that have not yet been moved and returns the empty vector.