On this page
Constant std::u8::MIN
pub const MIN: u8 = u8::MIN; // 0u8
👎Deprecating in a future Rust version: replaced by the
MIN
associated constant on this type
The smallest value that can be represented by this integer type. Use u8::MIN
instead.
Examples
// deprecated way
let min = std::u8::MIN;
// intended way
let min = u8::MIN;
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/u8/constant.MIN.html