MAX

Constant MAX 

1.0.0
pub const MAX: i8 = i8::MAX; // 127i8
๐Ÿ‘ŽDeprecating in a future version: replaced by the MAX associated constant on this type
Expand description

The largest value that can be represented by this integer type. Use i8::MAX instead.

ยงExamples

// deprecated way
let max = std::i8::MAX;

// intended way
let max = i8::MAX;