Skip to content

Commit 529829a

Browse files
committed
Auto merge of #66653 - ivan:lint-name-fix, r=Centril
docs: fix lint name for `unused_variables`
2 parents 9420ff4 + aa40c48 commit 529829a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RELEASES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7804,7 +7804,7 @@ Version 0.7 (2013-07-03)
78047804
* extra: Implementation of fixed output size variations of SHA-2.
78057805

78067806
* Tooling
7807-
* `unused_variable` lint mode for unused variables (default: warn).
7807+
* `unused_variables` lint mode for unused variables (default: warn).
78087808
* `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks
78097809
(default: warn).
78107810
* `unused_mut` lint mode for identifying unused `mut` qualifiers

src/doc/rustc/src/lints/levels.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ talk about later in this section.
3535
## warn
3636

3737
The 'warn' lint level will produce a warning if you violate the lint. For example,
38-
this code runs afoul of the `unused_variable` lint:
38+
this code runs afoul of the `unused_variables` lint:
3939

4040
```rust
4141
pub fn foo() {

0 commit comments

Comments
 (0)