neg_multiply should show a suggestion #8115
Labels
good first issue
These issues are a good way to get started with Clippy
L-suggestion
Lint: Improving, adding or fixing lint suggestions
Uh oh!
There was an error while loading. Please reload this page.
Description
There's no suggestion how this should be done and the docs just say:
but don't show how this is supposed to be done.
I had to google "how to negate an integer" and clippy should just suggest this:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: