mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Auto merge of #7736 - vxpm:master, r=giraffate
Fix typo ("asynx" corrected to "async") changelog: Fixed small typo in [`await_holding_lock`]'s documentation - "asynx" was corrected to "async"
This commit is contained in:
commit
685b77316f
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ declare_clippy_lint! {
|
|||
/// 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
|
||||
/// There are two potential solutions. One is to use an async-aware Mutex
|
||||
/// type. Many asynchronous foundation crates provide such a Mutex type. The
|
||||
/// other solution is to ensure the mutex is unlocked before calling await,
|
||||
/// either by introducing a scope or an explicit call to Drop::drop.
|
||||
|
|
Loading…
Reference in a new issue