SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

Rollup merge of #146326 - cyrgani:int-module-1, r=jhpratt

simplify the declaration of the legacy integer modules (`std::u32` etc.)

This PR removes some duplicated code from the declaration of the legacy integer modules by expanding the macro which is already used to generate `MIN` and `MAX` to now generate the whole module.
This would also make the remaining steps listed in rust-lang/rust#68490 such as fully deprecating the modules or placing `#[doc(hidden)]` on them easier.
S
Stuart Cook committed
fde2ef616d350634f5bfe8664b3acdbd6cdcdd64
Committed by GitHub <noreply@github.com> on 9/9/2025, 4:35:06 AM