diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index a45e1aa2416..bf69980b49c 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -139,6 +139,9 @@ pub struct Vec { cap: uint, } +unsafe impl Send for Vec { } +unsafe impl Sync for Vec { } + /// A clone-on-write vector pub type CowVec<'a, T> = Cow<'a, Vec, [T]>;