about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-04 17:13:12 +0900
committerGitHub <noreply@github.com>2022-05-04 17:13:12 +0900
commit33d507a986e94e2e1bafa61150dc094d31e47147 (patch)
tree83b0b8d1dea8c520a892548ee2db1147012b520f
parent91e5a47aae1407e8ae9f4ae94812b1cd94394405 (diff)
parent77390a152f8a235b3b5f2406ddd1c4eb41f88178 (diff)
downloadrust-33d507a986e94e2e1bafa61150dc094d31e47147.tar.gz
rust-33d507a986e94e2e1bafa61150dc094d31e47147.zip
Rollup merge of #96662 - rockboynton:master, r=GuillaumeGomez
Fix typo in lint levels doc
-rw-r--r--src/doc/rustc/src/lints/levels.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/doc/rustc/src/lints/levels.md b/src/doc/rustc/src/lints/levels.md
index 7bd46fafadf..fbec3cd9baf 100644
--- a/src/doc/rustc/src/lints/levels.md
+++ b/src/doc/rustc/src/lints/levels.md
@@ -100,9 +100,8 @@ This lint level gives you that.
 'force-warn' does for 'warn'. It's the same as 'deny' in that a lint at this
 level will produce an error, but unlike the 'deny' level, the 'forbid' level
 can not be overridden to be anything lower than an error.  However, lint
-levels may still be capped with `--cap-lints` (see below) so `rustc --cap-
-lints warn` will make lints set to 'forbid' just
-warn.
+levels may still be capped with `--cap-lints` (see below) so `rustc --cap-lints warn`
+will make lints set to 'forbid' just warn.
 
 ## Configuring warning levels