about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRock Boynton <rock.boynton@yahoo.com>2022-05-02 22:33:28 -0700
committerRock Boynton <rock.boynton@yahoo.com>2022-05-02 22:33:28 -0700
commit77390a152f8a235b3b5f2406ddd1c4eb41f88178 (patch)
tree09f6301d516d2eecf19c6264e300016ba8c26101
parentc110cfa161aab391bd37c16a95b8330bfc7e54ce (diff)
downloadrust-77390a152f8a235b3b5f2406ddd1c4eb41f88178.tar.gz
rust-77390a152f8a235b3b5f2406ddd1c4eb41f88178.zip
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