Closed
Description
Values such as u8::MAX
are nice when coding because they capture the max allowed value of a number without needing to hard-code it yourself, or apply tricks to compute it.
However when trying to decide which number type to use, it'd be nice to have a plain-text definition of the number types in the documentation. Because even clicking through to the source does not yield the information you're looking for.
I think this would be a small change that could make getting used to Rust's number types significantly easier. Thanks!
Screenshots
Rust's MAX
docs don't contain much information currently. It seems like it wouldn't be too bad to add a bit more to it.