MIN in core::u64 - Rust

core::u64

Constant MIN 

1.6.0 · Source

pub const MIN: u64 = u64::MIN; // 0u64

👎Deprecating in a future version: replaced by the MIN associated constant on this type

Expand description

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

§Examples

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

// intended way
let min = u64::MIN;