Skip to content

Commit

Permalink
Rollup merge of #96662 - rockboynton:master, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Fix typo in lint levels doc
  • Loading branch information
JohnTitor authored May 4, 2022
2 parents 91e5a47 + 77390a1 commit 33d507a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/doc/rustc/src/lints/levels.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 33d507a

Please sign in to comment.