Skip to content

Commit e55c3f8

Browse files
authored
Rollup merge of rust-lang#96662 - rockboynton:master, r=GuillaumeGomez
Fix typo in lint levels doc
2 parents 5c2d31c + 77390a1 commit e55c3f8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
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)