W3cubDocs

/Rust

Constant std::isize::MAX

pub const MAX: isize = isize::MAX; // 9_223_372_036_854_775_807isize

The largest value that can be represented by this integer type. Use isize::MAX instead.

Examples

// deprecated way
let max = std::isize::MAX;

// intended way
let max = isize::MAX;

© 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/isize/constant.MAX.html