@@ -1112,13 +1112,7 @@ $EndFeature, "
1112
1112
without modifying the original"]
1113
1113
#[ inline]
1114
1114
pub const fn wrapping_add( self , rhs: Self ) -> Self {
1115
- #[ cfg( bootstrap) ] {
1116
- intrinsics:: overflowing_add( self , rhs)
1117
- }
1118
-
1119
- #[ cfg( not( bootstrap) ) ] {
1120
- intrinsics:: wrapping_add( self , rhs)
1121
- }
1115
+ intrinsics:: wrapping_add( self , rhs)
1122
1116
}
1123
1117
}
1124
1118
@@ -1141,13 +1135,7 @@ $EndFeature, "
1141
1135
without modifying the original"]
1142
1136
#[ inline]
1143
1137
pub const fn wrapping_sub( self , rhs: Self ) -> Self {
1144
- #[ cfg( bootstrap) ] {
1145
- intrinsics:: overflowing_sub( self , rhs)
1146
- }
1147
-
1148
- #[ cfg( not( bootstrap) ) ] {
1149
- intrinsics:: wrapping_sub( self , rhs)
1150
- }
1138
+ intrinsics:: wrapping_sub( self , rhs)
1151
1139
}
1152
1140
}
1153
1141
@@ -1169,13 +1157,7 @@ $EndFeature, "
1169
1157
without modifying the original"]
1170
1158
#[ inline]
1171
1159
pub const fn wrapping_mul( self , rhs: Self ) -> Self {
1172
- #[ cfg( bootstrap) ] {
1173
- intrinsics:: overflowing_mul( self , rhs)
1174
- }
1175
-
1176
- #[ cfg( not( bootstrap) ) ] {
1177
- intrinsics:: wrapping_mul( self , rhs)
1178
- }
1160
+ intrinsics:: wrapping_mul( self , rhs)
1179
1161
}
1180
1162
}
1181
1163
@@ -3040,13 +3022,7 @@ $EndFeature, "
3040
3022
without modifying the original"]
3041
3023
#[ inline]
3042
3024
pub const fn wrapping_add( self , rhs: Self ) -> Self {
3043
- #[ cfg( bootstrap) ] {
3044
- intrinsics:: overflowing_add( self , rhs)
3045
- }
3046
-
3047
- #[ cfg( not( bootstrap) ) ] {
3048
- intrinsics:: wrapping_add( self , rhs)
3049
- }
3025
+ intrinsics:: wrapping_add( self , rhs)
3050
3026
}
3051
3027
}
3052
3028
@@ -3068,13 +3044,7 @@ $EndFeature, "
3068
3044
without modifying the original"]
3069
3045
#[ inline]
3070
3046
pub const fn wrapping_sub( self , rhs: Self ) -> Self {
3071
- #[ cfg( bootstrap) ] {
3072
- intrinsics:: overflowing_sub( self , rhs)
3073
- }
3074
-
3075
- #[ cfg( not( bootstrap) ) ] {
3076
- intrinsics:: wrapping_sub( self , rhs)
3077
- }
3047
+ intrinsics:: wrapping_sub( self , rhs)
3078
3048
}
3079
3049
}
3080
3050
@@ -3097,13 +3067,7 @@ $EndFeature, "
3097
3067
without modifying the original"]
3098
3068
#[ inline]
3099
3069
pub const fn wrapping_mul( self , rhs: Self ) -> Self {
3100
- #[ cfg( bootstrap) ] {
3101
- intrinsics:: overflowing_mul( self , rhs)
3102
- }
3103
-
3104
- #[ cfg( not( bootstrap) ) ] {
3105
- intrinsics:: wrapping_mul( self , rhs)
3106
- }
3070
+ intrinsics:: wrapping_mul( self , rhs)
3107
3071
}
3108
3072
3109
3073
doc_comment! {
0 commit comments