about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-11-23 15:38:49 +0000
committerbors <bors@rust-lang.org>2019-11-23 15:38:49 +0000
commit529829a037b49e053d7f70e8917296eef0d6c2ec (patch)
treed6261be52f43fe306a480dde25d6a179fcf1b88f /src/doc
parent9420ff4c0ebea44b167d530bb59f9d5721d8ff0b (diff)
parentaa40c48c36515f4a3ea38585947592e46493726e (diff)
downloadrust-529829a037b49e053d7f70e8917296eef0d6c2ec.tar.gz
rust-529829a037b49e053d7f70e8917296eef0d6c2ec.zip
Auto merge of #66653 - ivan:lint-name-fix, r=Centril
docs: fix lint name for `unused_variables`
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/lints/levels.md2
1 files changed, 1 insertions, 1 deletions
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() {