W3cubDocs

/Rust

Constant std::i8::MIN

pub const MIN: i8 = i8::MIN; // -128i8

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;

© 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/i8/constant.MIN.html