Skip to content

Commit 84dc569

Browse files
committed
Add docs for await_holding_invalid_types
1 parent a54e313 commit 84dc569

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

book/src/lint_configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ Suppress lints whenever the suggested change would cause breakage for other crat
364364

365365

366366
## `await-holding-invalid-types`
367-
367+
The list of types which may not be held across an await point.
368368

369369
**Default Value:** `[]`
370370

clippy_config/src/conf.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,8 @@ define_Conf! {
416416
/// Suppress lints whenever the suggested change would cause breakage for other crates.
417417
(avoid_breaking_exported_api: bool = true),
418418
/// Lint: AWAIT_HOLDING_INVALID_TYPE.
419+
///
420+
/// The list of types which may not be held across an await point.
419421
(await_holding_invalid_types: Vec<DisallowedPath> = Vec::new()),
420422
/// DEPRECATED LINT: BLACKLISTED_NAME.
421423
///

0 commit comments

Comments
 (0)