Lint to suggest .saturating_add/sub(x)
for .checked_add/sub(x).unwrap_or(MAX/MIN)
#1557
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
T-middle
Type: Probably requires verifiying types
Signed versions can also be linted if literals are used.
The text was updated successfully, but these errors were encountered: