Skip to main content

MIN

Constant MIN 

1.6.0 · Source
pub const MIN: i8 = i8::MIN; // -128i8
👎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 i8::MIN instead.

§Examples

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

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