Skip to content

Commit 33d507a

Browse files
authored
Rollup merge of #96662 - rockboynton:master, r=GuillaumeGomez
Fix typo in lint levels doc
2 parents 91e5a47 + 77390a1 commit 33d507a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/doc/rustc/src/lints/levels.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,8 @@ This lint level gives you that.
100100
'force-warn' does for 'warn'. It's the same as 'deny' in that a lint at this
101101
level will produce an error, but unlike the 'deny' level, the 'forbid' level
102102
can not be overridden to be anything lower than an error. However, lint
103-
levels may still be capped with `--cap-lints` (see below) so `rustc --cap-
104-
lints warn` will make lints set to 'forbid' just
105-
warn.
103+
levels may still be capped with `--cap-lints` (see below) so `rustc --cap-lints warn`
104+
will make lints set to 'forbid' just warn.
106105

107106
## Configuring warning levels
108107

0 commit comments

Comments
 (0)