Constant core::u16::MIN1.0.0[][src]

pub const MIN: u16 = u16::MIN; // 0x0000u16
👎 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 u16::MIN instead.


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

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