fix 'const-stable since' for NonZeroU*::new_unchecked For the unsigned `NonZero` types, `new_unchecked` was const-stable from the start with https://github.com/rust-lang/rust/pull/50808. Fix the docs to accurately reflect that. I think this `since` is also incorrect: ```rust #[stable(feature = "from_nonzero", since = "1.31.0")] impl From<$Ty> for $Int { ``` The signed nonzero types were only stabilized in 1.34, so that `From` impl certainly didn't exist before. But I had enough of digging through git histories after I figured out when `new_unchecked` became const-stable...^^ |
||
|---|---|---|
| .. | ||
| dec2flt | ||
| flt2dec | ||
| shells | ||
| bignum.rs | ||
| diy_float.rs | ||
| error.rs | ||
| f32.rs | ||
| f64.rs | ||
| int_macros.rs | ||
| mod.rs | ||
| nonzero.rs | ||
| uint_macros.rs | ||
| wrapping.rs | ||