about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorNaja Melan <najamelan@autistici.org>2019-08-22 22:39:21 +0000
committerGitHub <noreply@github.com>2019-08-22 22:39:21 +0000
commit98bd60c2814e5d90c9eddcd25ea571ad032a0c74 (patch)
treeeb2b41f6e69af44f74f8ee218a12e69d9bc27559 /src/doc
parent760226733e940cb375f791e894fbb554555eeb01 (diff)
downloadrust-98bd60c2814e5d90c9eddcd25ea571ad032a0c74.tar.gz
rust-98bd60c2814e5d90c9eddcd25ea571ad032a0c74.zip
Update single-use-lifetimes
When using this, rustc emits a warning that the lint has been renamed (to having an 's' at the end)
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/lints/listing/allowed-by-default.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/lints/listing/allowed-by-default.md b/src/doc/rustc/src/lints/listing/allowed-by-default.md
index a6e4e166d7b..d3dfc3197e2 100644
--- a/src/doc/rustc/src/lints/listing/allowed-by-default.md
+++ b/src/doc/rustc/src/lints/listing/allowed-by-default.md
@@ -208,7 +208,7 @@ error: missing documentation for a function
 
 To fix the lint, add documentation to all items.
 
-## single-use-lifetime
+## single-use-lifetimes
 
 This lint detects lifetimes that are only used once. Some example code that
 triggers this lint: