about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-23 16:22:06 +0000
committerbors <bors@rust-lang.org>2019-08-23 16:22:06 +0000
commit9eae1fc0ea9b00341b8fe191582c4decb5cb86a3 (patch)
tree1abe645f298c4522c37aaf63f8691bf13a9b294c /src
parent3def0f3d5b2eadf1bd8f182c4fc3b32b2fccd0dc (diff)
parent98bd60c2814e5d90c9eddcd25ea571ad032a0c74 (diff)
downloadrust-9eae1fc0ea9b00341b8fe191582c4decb5cb86a3.tar.gz
rust-9eae1fc0ea9b00341b8fe191582c4decb5cb86a3.zip
Auto merge of #63819 - najamelan:patch-1, r=Centril
rustc docs: 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')
-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: