Constant std::u8::MIN1.0.0[][src]

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

Examples

// 弃用的方式
let min = std::u8::MIN;

// 预期的方式
let min = u8::MIN;
Run