Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Nov 26, 2021
1 parent faf5b19 commit 1b14d2a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/false_positive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,23 @@ body:
id: reproducer
attributes:
label: Reproducer
description: Please provide the code and steps to repoduce the bug
description: >
Please provide the code and steps to repoduce the bug together with the
output from Clippy.
value: |
I tried this code:
```rust
<code>
```
I expected to see this happen:
I saw this happen:
```
<output>
```
Instead, this happened:
I expected to see this happen:
- type: textarea
id: version
attributes:
Expand Down
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/new_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,19 @@ body:
description: What does this lint do?
validations:
required: true
- type: input
id: lint-name
attributes:
label: Lint Name
description: Please provide the lint name.
- type: dropdown
id: category
attributes:
label: Category
description: >
What category should this lint go into? If you're unsure you can select
multiple categories.
multiple categories. You can find a category description in the
`README`.
multiple: true
options:
- correctness
Expand Down Expand Up @@ -49,8 +55,8 @@ body:
attributes:
label: Example
description: >
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in
your environment. E.g. `RUST_BACKTRACE=1 cargo clippy`.
Include a short example showing when the lint should trigger together
with the improved code.
value: |
```rust
<code>
Expand Down

0 comments on commit 1b14d2a

Please sign in to comment.