core::i8

Constant MAX

1.6.0 · source
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;