Skip to content

Commit 98bd60c

Browse files
authored
Update single-use-lifetimes
When using this, rustc emits a warning that the lint has been renamed (to having an 's' at the end)
1 parent 7602267 commit 98bd60c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustc/src/lints/listing/allowed-by-default.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ error: missing documentation for a function
208208

209209
To fix the lint, add documentation to all items.
210210

211-
## single-use-lifetime
211+
## single-use-lifetimes
212212

213213
This lint detects lifetimes that are only used once. Some example code that
214214
triggers this lint:

0 commit comments

Comments
 (0)