MIN in core::i32 - Rust
Description: The smallest value that can be represented by this integer type. Use [`i32::MIN`] instead.
Keywords: rust, rustlang, rust-lang, MIN

# Constant core::i32::MIN
1.0.0[−][src]

    pub const MIN: i32 = i32::MIN; // -2_147_483_648i32

👎 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 `i32::MIN` instead.

# Examples

    // deprecated way
    let min = std::i32::MIN;

    // intended way
    let min = i32::MIN;

Run