Skip to content

Commit 7716d69

Browse files
committed
fix: add missing dot to AWAIT_HOLDING_INVALID_TYPE
1 parent e65f9f9 commit 7716d69

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

book/src/lint_configuration.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Please use that command to update the file and do not edit it by hand.
4343
| [allowed-scripts](#allowed-scripts) | `["Latin"]` |
4444
| [enable-raw-pointer-heuristic-for-send](#enable-raw-pointer-heuristic-for-send) | `true` |
4545
| [max-suggested-slice-pattern-length](#max-suggested-slice-pattern-length) | `3` |
46+
| [await-holding-invalid-types](#await-holding-invalid-types) | `[]` |
4647
| [max-include-file-size](#max-include-file-size) | `1000000` |
4748
| [allow-expect-in-tests](#allow-expect-in-tests) | `false` |
4849
| [allow-unwrap-in-tests](#allow-unwrap-in-tests) | `false` |
@@ -448,6 +449,14 @@ For example, `[_, _, _, e, ..]` is a slice pattern with 4 elements.
448449
* [index_refutable_slice](https://rust-lang.github.io/rust-clippy/master/index.html#index_refutable_slice)
449450

450451

452+
### await-holding-invalid-types
453+
454+
455+
**Default Value:** `[]` (`Vec<crate::utils::conf::DisallowedPath>`)
456+
457+
* [await_holding_invalid_type](https://rust-lang.github.io/rust-clippy/master/index.html#await_holding_invalid_type)
458+
459+
451460
### max-include-file-size
452461
The maximum size of a file included via `include_bytes!()` or `include_str!()`, in bytes
453462

clippy_lints/src/utils/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ define_Conf! {
411411
/// the slice pattern that is suggested. If more elements would be necessary, the lint is suppressed.
412412
/// For example, `[_, _, _, e, ..]` is a slice pattern with 4 elements.
413413
(max_suggested_slice_pattern_length: u64 = 3),
414-
/// Lint: AWAIT_HOLDING_INVALID_TYPE
414+
/// Lint: AWAIT_HOLDING_INVALID_TYPE.
415415
(await_holding_invalid_types: Vec<crate::utils::conf::DisallowedPath> = Vec::new()),
416416
/// Lint: LARGE_INCLUDE_FILE.
417417
///

0 commit comments

Comments
 (0)