Constant std::i64::MIN

1.0.0 · source ·
pub const MIN: i64 = i64::MIN; // -9_223_372_036_854_775_808i64
👎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 i64::MIN instead.

Examples

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

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