Skip to content

Commit

Permalink
rollup merge of rust-lang#21036: renato-zannon/into-iter-impls
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 15, 2015
2 parents 21effeb + d6e67e9 commit 1ba75d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libcollections/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,9 @@ pub struct IntoIter<T> {
end: *const T
}

unsafe impl<T: Send> Send for IntoIter<T> { }
unsafe impl<T: Sync> Sync for IntoIter<T> { }

impl<T> IntoIter<T> {
#[inline]
/// Drops all items that have not yet been moved and returns the empty vector.
Expand Down

0 comments on commit 1ba75d2

Please sign in to comment.