diff --git a/RELEASES.md b/RELEASES.md index 6daf7a13b6bdcd0ee7fc09ac5e5c00d125d736f5..53139877c2f92951a501dba60b494dafcd9aee02 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 834a4a79727ab9a84346c9e88c1c7f0799042280..2944e865663139be49c16ad612c67568e4ed9699 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() {