@@ -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
@@ -3063,13 +3045,7 @@ $EndFeature, "
3063
3045
without modifying the original"]
3064
3046
#[ inline]
3065
3047
pub const fn wrapping_add( self , rhs: Self ) -> Self {
3066
- #[ cfg( bootstrap) ] {
3067
- intrinsics:: overflowing_add( self , rhs)
3068
- }
3069
-
3070
- #[ cfg( not( bootstrap) ) ] {
3071
- intrinsics:: wrapping_add( self , rhs)
3072
- }
3048
+ intrinsics:: wrapping_add( self , rhs)
3073
3049
}
3074
3050
}
3075
3051
@@ -3091,13 +3067,7 @@ $EndFeature, "
3091
3067
without modifying the original"]
3092
3068
#[ inline]
3093
3069
pub const fn wrapping_sub( self , rhs: Self ) -> Self {
3094
- #[ cfg( bootstrap) ] {
3095
- intrinsics:: overflowing_sub( self , rhs)
3096
- }
3097
-
3098
- #[ cfg( not( bootstrap) ) ] {
3099
- intrinsics:: wrapping_sub( self , rhs)
3100
- }
3070
+ intrinsics:: wrapping_sub( self , rhs)
3101
3071
}
3102
3072
}
3103
3073
@@ -3120,13 +3090,7 @@ $EndFeature, "
3120
3090
without modifying the original"]
3121
3091
#[ inline]
3122
3092
pub const fn wrapping_mul( self , rhs: Self ) -> Self {
3123
- #[ cfg( bootstrap) ] {
3124
- intrinsics:: overflowing_mul( self , rhs)
3125
- }
3126
-
3127
- #[ cfg( not( bootstrap) ) ] {
3128
- intrinsics:: wrapping_mul( self , rhs)
3129
- }
3093
+ intrinsics:: wrapping_mul( self , rhs)
3130
3094
}
3131
3095
3132
3096
doc_comment! {
0 commit comments