Closed
Description
I just ran rustfix on https://github.com/space-wizards/bsdiff-rs and noticed that the built-in unused_parens lint has no suggestions.
Suggesting the underlined span without the surrounding parentheses should be enough.
warning: unnecessary parentheses around assigned value
--> src/diff.rs:552:21
|
552 | lenf += (lens - overlap);
| ^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_parens)] on by default