diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-05-04 17:13:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-04 17:13:12 +0900 |
| commit | 33d507a986e94e2e1bafa61150dc094d31e47147 (patch) | |
| tree | 83b0b8d1dea8c520a892548ee2db1147012b520f | |
| parent | 91e5a47aae1407e8ae9f4ae94812b1cd94394405 (diff) | |
| parent | 77390a152f8a235b3b5f2406ddd1c4eb41f88178 (diff) | |
| download | rust-33d507a986e94e2e1bafa61150dc094d31e47147.tar.gz rust-33d507a986e94e2e1bafa61150dc094d31e47147.zip | |
Rollup merge of #96662 - rockboynton:master, r=GuillaumeGomez
Fix typo in lint levels doc
| -rw-r--r-- | src/doc/rustc/src/lints/levels.md | 5 |
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 |
