mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 07:30:57 +00:00
Fix typo
This commit is contained in:
parent
e0f46a19bc
commit
f1775f05b7
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
|
||||
/// 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.
|
||||
///
|
||||
/// There are two potential solutions. One is to use an asynx-aware Mutex
|
||||
|
|
Loading…
Reference in a new issue