rust/library/core/src/num
Matthias Krüger 369e44943f
Rollup merge of #104420 - TethysSvensson:master, r=JohnTitor
Fix doc example for `wrapping_abs`

The `max` variable is unused. This change introduces the `min_plus` variable, to make the example similar to the one from `saturating_abs`. An alternative would be to remove the unused variable.
2022-11-21 14:11:09 +01:00
..
dec2flt more dupe word typos 2022-10-14 12:57:56 +08:00
flt2dec Fix inconsistent rounding of 0.5 when formatted to 0 decimal places 2022-10-11 23:09:23 +02:00
shells Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
bignum.rs Rename integer log* methods to ilog* 2022-08-09 10:20:49 -07:00
diy_float.rs Fix assert in diy_float 2021-07-27 16:02:35 -04:00
error.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
f32.rs Fix naming format of IEEE 754 standard 2022-09-11 04:13:33 +02:00
f64.rs Fix naming format of IEEE 754 standard 2022-09-11 04:13:33 +02:00
fmt.rs Fix a bunch of typos 2021-12-14 16:40:43 +01:00
int_log10.rs more dupe word typos 2022-10-14 12:57:56 +08:00
int_macros.rs Rollup merge of #103456 - scottmcm:fix-unchecked-shifts, r=scottmcm 2022-11-18 17:48:17 -05:00
mod.rs unchecked_{shl|shr} should use u32 as the RHS 2022-10-23 17:32:36 -07:00
nonzero.rs Rollup merge of #104420 - TethysSvensson:master, r=JohnTitor 2022-11-21 14:11:09 +01:00
saturating.rs Unimpl {Add,Sub,Mul,Div,Rem,BitXor,BitOr,BitAnd}<$t> for Saturating<$t> 2022-01-26 23:49:54 +01:00
uint_macros.rs Rollup merge of #103456 - scottmcm:fix-unchecked-shifts, r=scottmcm 2022-11-18 17:48:17 -05:00
wrapping.rs Stabilize wrapping_int_assign_impl in 1.60.0. 2022-02-07 11:45:12 +01:00