diff options
| author | Ivan Kozik <ivan@ludios.org> | 2019-11-23 00:15:55 +0000 |
|---|---|---|
| committer | Ivan Kozik <ivan@ludios.org> | 2019-11-23 00:15:55 +0000 |
| commit | aa40c48c36515f4a3ea38585947592e46493726e (patch) | |
| tree | 887d3e42cd0a0d06f32ac7000284b8842c77731b | |
| parent | 5fa0af2327944bd806b2fa382d4e983149ae7e4a (diff) | |
| download | rust-aa40c48c36515f4a3ea38585947592e46493726e.tar.gz rust-aa40c48c36515f4a3ea38585947592e46493726e.zip | |
docs: fix lint name for `unused_variables`
| -rw-r--r-- | RELEASES.md | 2 | ||||
| -rw-r--r-- | src/doc/rustc/src/lints/levels.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/RELEASES.md b/RELEASES.md index 6daf7a13b6b..53139877c2f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -7804,7 +7804,7 @@ Version 0.7 (2013-07-03) * extra: Implementation of fixed output size variations of SHA-2. * Tooling - * `unused_variable` lint mode for unused variables (default: warn). + * `unused_variables` lint mode for unused variables (default: warn). * `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks (default: warn). * `unused_mut` lint mode for identifying unused `mut` qualifiers diff --git a/src/doc/rustc/src/lints/levels.md b/src/doc/rustc/src/lints/levels.md index 834a4a79727..2944e865663 100644 --- a/src/doc/rustc/src/lints/levels.md +++ b/src/doc/rustc/src/lints/levels.md @@ -35,7 +35,7 @@ talk about later in this section. ## warn The 'warn' lint level will produce a warning if you violate the lint. For example, -this code runs afoul of the `unused_variable` lint: +this code runs afoul of the `unused_variables` lint: ```rust pub fn foo() { |
