Skip to content

Commit

Permalink
Rollup merge of rust-lang#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 3, 2022
2 parents 5c2d31c + 77390a1 commit e55c3f8
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 e55c3f8

Please sign in to comment.