@@ -1788,6 +1788,12 @@ unsafe impl<'a, T> TrustedRandomAccessNoCoerce for ChunksMut<'a, T> {
17881788 const MAY_HAVE_SIDE_EFFECT : bool = false ;
17891789}
17901790
1791+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1792+ unsafe impl < T > Send for ChunksMut < ' _ , T > where T : Send { }
1793+
1794+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1795+ unsafe impl < T > Sync for ChunksMut < ' _ , T > where T : Sync { }
1796+
17911797/// An iterator over a slice in (non-overlapping) chunks (`chunk_size` elements at a
17921798/// time), starting at the beginning of the slice.
17931799///
@@ -2114,6 +2120,12 @@ unsafe impl<'a, T> TrustedRandomAccessNoCoerce for ChunksExactMut<'a, T> {
21142120 const MAY_HAVE_SIDE_EFFECT : bool = false ;
21152121}
21162122
2123+ #[ stable( feature = "chunks_exact" , since = "1.31.0" ) ]
2124+ unsafe impl < T > Send for ChunksExactMut < ' _ , T > where T : Send { }
2125+
2126+ #[ stable( feature = "chunks_exact" , since = "1.31.0" ) ]
2127+ unsafe impl < T > Sync for ChunksExactMut < ' _ , T > where T : Sync { }
2128+
21172129/// A windowed iterator over a slice in overlapping chunks (`N` elements at a
21182130/// time), starting at the beginning of the slice
21192131///
@@ -2835,6 +2847,12 @@ unsafe impl<'a, T> TrustedRandomAccessNoCoerce for RChunksMut<'a, T> {
28352847 const MAY_HAVE_SIDE_EFFECT : bool = false ;
28362848}
28372849
2850+ #[ stable( feature = "rchunks" , since = "1.31.0" ) ]
2851+ unsafe impl < T > Send for RChunksMut < ' _ , T > where T : Send { }
2852+
2853+ #[ stable( feature = "rchunks" , since = "1.31.0" ) ]
2854+ unsafe impl < T > Sync for RChunksMut < ' _ , T > where T : Sync { }
2855+
28382856/// An iterator over a slice in (non-overlapping) chunks (`chunk_size` elements at a
28392857/// time), starting at the end of the slice.
28402858///
@@ -3168,6 +3186,12 @@ unsafe impl<'a, T> TrustedRandomAccessNoCoerce for RChunksExactMut<'a, T> {
31683186 const MAY_HAVE_SIDE_EFFECT : bool = false ;
31693187}
31703188
3189+ #[ stable( feature = "rchunks" , since = "1.31.0" ) ]
3190+ unsafe impl < T > Send for RChunksExactMut < ' _ , T > where T : Send { }
3191+
3192+ #[ stable( feature = "rchunks" , since = "1.31.0" ) ]
3193+ unsafe impl < T > Sync for RChunksExactMut < ' _ , T > where T : Sync { }
3194+
31713195#[ doc( hidden) ]
31723196#[ unstable( feature = "trusted_random_access" , issue = "none" ) ]
31733197unsafe impl < ' a , T > TrustedRandomAccess for Iter < ' a , T > { }
0 commit comments