Many existing methods were made const , allowing them to be used in constant contexts: The new method for all NonZero integers.
Several new APIs were added to the stable standard library, including: What’s new in Rust 1.47
Rust version 1.47.0, released on , was a focused update primarily delivering quality-of-life improvements, library stabilizations, and toolchain upgrades rather than major new language features. Key Language & Tooling Updates Many existing methods were made const , allowing