: By default, build dependencies are now built with opt-level = 0 to speed up compilation times.
Range::is_empty and RangeInclusive::is_empty : Simple checks for whether a range contains no values. 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 : By default, build dependencies are now built
Several new APIs were added to the stable standard library, including: : By default
Compare these changes with more recent versions like .
f32::TAU and f64::TAU : Added the mathematical constant ( ) for more intuitive circle-based calculations.
Vec::leak : Allows "leaking" a vector to obtain a mutable reference that lives for the remainder of the program's life.