mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
545 B
545 B
name | about | labels |
---|---|---|
New lint suggestion | Suggest a new Clippy lint. | A-lint |
What it does
What does this lint do?
Categories (optional)
- Kind: See https://github.com/rust-lang/rust-clippy/blob/master/README.md#clippy for list of lint kinds
What is the advantage of the recommended code over the original code
For example:
- Remove bounds check inserted by ...
- Remove the need to duplicate/store ...
- Remove typo ...
Drawbacks
None.
Example
<code>
Could be written as:
<code>