Closed
Description
I'm not sure if I'm calling this wrong, but when I try to use
let inf = std::u32::max_value();
I get the error:
src\main.rs:3:13: 3:32 error: unresolved name `std::u32::max_value` [E0425]
src\main.rs:3 let inf = std::u32::max_value();
, but following PR #11790 it looks like it should be
let inf = std::u32::MAX;
which of course works. None of this is a problem, except the documentation says to use max_value()
https://doc.rust-lang.org/std/primitive.u32.html
Please let me know if I'm doing something wrong though.
Metadata
Metadata
Assignees
Labels
No labels