W3cubDocs

/Rust

Constant std::usize::MIN

pub const MIN: usize = usize::MIN; // 0usize

The smallest value that can be represented by this integer type. Use usize::MIN instead.

Examples

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

// intended way
let min = usize::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/usize/constant.MIN.html