rust/library/core
Jacob Pratt 5178a3630e
Rollup merge of #136511 - joshtriplett:nonzero-cast-signed-unsigned, r=dtolnay
Add `cast_signed` and `cast_unsigned` methods for `NonZero` types

Requested in https://github.com/rust-lang/rust/issues/125882 .

Note that this keeps the same names as the methods currently present on other
integer types. If we want to rename them, we can rename them all at the same
time.
2025-02-04 05:38:05 -05:00
..
src Rollup merge of #136511 - joshtriplett:nonzero-cast-signed-unsigned, r=dtolnay 2025-02-04 05:38:05 -05:00
Cargo.toml Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00