File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -951,6 +951,12 @@ pub trait Read {
951951#[ repr( transparent) ]
952952pub struct IoSliceMut < ' a > ( sys:: io:: IoSliceMut < ' a > ) ;
953953
954+ #[ stable( feature = "iovec-send-sync" , since = "1.44.0" ) ]
955+ unsafe impl < ' a > Send for IoSliceMut < ' a > { }
956+
957+ #[ stable( feature = "iovec-send-sync" , since = "1.44.0" ) ]
958+ unsafe impl < ' a > Sync for IoSliceMut < ' a > { }
959+
954960#[ stable( feature = "iovec" , since = "1.36.0" ) ]
955961impl < ' a > fmt:: Debug for IoSliceMut < ' a > {
956962 fn fmt ( & self , fmt : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
@@ -1054,6 +1060,12 @@ impl<'a> DerefMut for IoSliceMut<'a> {
10541060#[ repr( transparent) ]
10551061pub struct IoSlice < ' a > ( sys:: io:: IoSlice < ' a > ) ;
10561062
1063+ #[ stable( feature = "iovec-send-sync" , since = "1.44.0" ) ]
1064+ unsafe impl < ' a > Send for IoSlice < ' a > { }
1065+
1066+ #[ stable( feature = "iovec-send-sync" , since = "1.44.0" ) ]
1067+ unsafe impl < ' a > Sync for IoSlice < ' a > { }
1068+
10571069#[ stable( feature = "iovec" , since = "1.36.0" ) ]
10581070impl < ' a > fmt:: Debug for IoSlice < ' a > {
10591071 fn fmt ( & self , fmt : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
You can’t perform that action at this time.
0 commit comments