]> git.lizzy.rs Git - rust.git/commitdiff
remove redundant Send and Sync impl from Vec
authorAlexis Beingessner <a.beingessner@gmail.com>
Sun, 21 Jun 2015 02:51:46 +0000 (19:51 -0700)
committerAlexis Beingessner <a.beingessner@gmail.com>
Sun, 21 Jun 2015 02:51:46 +0000 (19:51 -0700)
src/libcollections/vec.rs

index 54528c50f1d1e007419d8b206a685ef501744258..bc4af5680ca9822bb6ee9b0b3ee44559d8de42c2 100644 (file)
@@ -157,9 +157,6 @@ pub struct Vec<T> {
     cap: usize,
 }
 
-unsafe impl<T: Send> Send for Vec<T> { }
-unsafe impl<T: Sync> Sync for Vec<T> { }
-
 ////////////////////////////////////////////////////////////////////////////////
 // Inherent methods
 ////////////////////////////////////////////////////////////////////////////////