Constant core::u128::MIN

1.26.0 · source ·
pub const MIN: u128 = u128::MIN; // 0u128
👎Deprecating in a future Rust version: replaced by the MIN associated constant on this type
Expand description

The smallest value that can be represented by this integer type. Use u128::MIN instead.

Examples

// deprecated way
let min = std::u128::MIN;

// intended way
let min = u128::MIN;
Run
This documentation is an old archive. Please see https://rust.docs.kernel.org instead.