mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 17:15:05 +00:00
Auto merge of #6028 - giraffate:fix_typo, r=flip1995
Fix typo changelog: none
This commit is contained in:
commit
df6d7bfbef
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ declare_clippy_lint! {
|
||||||
/// **What it does:** Checks for calls to await while holding a
|
/// **What it does:** Checks for calls to await while holding a
|
||||||
/// non-async-aware MutexGuard.
|
/// non-async-aware MutexGuard.
|
||||||
///
|
///
|
||||||
/// **Why is this bad?** The Mutex types found in syd::sync and parking_lot
|
/// **Why is this bad?** The Mutex types found in std::sync and parking_lot
|
||||||
/// are not designed to operate in an async context across await points.
|
/// are not designed to operate in an async context across await points.
|
||||||
///
|
///
|
||||||
/// There are two potential solutions. One is to use an asynx-aware Mutex
|
/// There are two potential solutions. One is to use an asynx-aware Mutex
|
||||||
|
|
Loading…
Reference in a new issue