rust-clippy/.github/ISSUE_TEMPLATE/new_lint.md

37 lines
545 B
Markdown
Raw Normal View History

---
name: New lint suggestion
about: Suggest a new Clippy lint.
labels: 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*
2020-07-11 21:42:56 +00:00
*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
```rust
<code>
```
Could be written as:
```rust
<code>
```