Constant std::usize::MIN

1.0.0 · source · []
pub const MIN: usize = usize::MIN; // 0usize
👎 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 usize::MIN instead.

Examples

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

// intended way
let min = usize::MIN;
Run