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
@ -16,7 +16,7 @@
|
||||
/// 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 New Issue
Block a user