File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -951,6 +951,12 @@ pub trait Read {
951
951
#[ repr( transparent) ]
952
952
pub struct IoSliceMut < ' a > ( sys:: io:: IoSliceMut < ' a > ) ;
953
953
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
+
954
960
#[ stable( feature = "iovec" , since = "1.36.0" ) ]
955
961
impl < ' a > fmt:: Debug for IoSliceMut < ' a > {
956
962
fn fmt ( & self , fmt : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
@@ -1054,6 +1060,12 @@ impl<'a> DerefMut for IoSliceMut<'a> {
1054
1060
#[ repr( transparent) ]
1055
1061
pub struct IoSlice < ' a > ( sys:: io:: IoSlice < ' a > ) ;
1056
1062
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
+
1057
1069
#[ stable( feature = "iovec" , since = "1.36.0" ) ]
1058
1070
impl < ' a > fmt:: Debug for IoSlice < ' a > {
1059
1071
fn fmt ( & self , fmt : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
You can’t perform that action at this time.
0 commit comments