diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index e5f9b2513e27..8f6c343205d6 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.