]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/.github/ISSUE_TEMPLATE/new_lint.md
Auto merge of #73490 - CAD97:range-unchecked-stepping, r=Amanieu
[rust.git] / src / tools / clippy / .github / ISSUE_TEMPLATE / new_lint.md
1 ---
2 name: New lint suggestion
3 about: Suggest a new Clippy lint.
4 labels: L-lint
5 ---
6
7 ### What it does
8
9 *What does this lint do?*
10
11 ### Categories (optional)
12
13 - Kind: *See <https://github.com/rust-lang/rust-clippy/blob/master/README.md#clippy> for list of lint kinds*
14
15 *What benefit of this lint over old code?*
16
17 For example:
18 - Remove bounce checking inserted by ...
19 - Remove the need to duplicating/storing/typo ...
20
21 ### Drawbacks
22
23 None.
24
25 ### Example
26
27 ```rust
28 <code>
29 ```
30
31 Could be written as:
32
33 ```rust
34 <code>
35 ```