mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 03:24:06 +03:00
fc98b19cf7
These constants are small and can fit even in `u8`, but semantically they have type `usize` because they denote sizes and are almost always used in `usize` context. The change of their type to `u32` during the integer audit led only to the large amount of `as usize` noise (see the second commit, which removes this noise). This is a minor [breaking-change] to an unstable interface. r? @aturon