mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Fix typo ("asynx" corrected to "async")
This commit is contained in:
parent
fb17671eb0
commit
30ea0a5ebb
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…
Add table
Reference in a new issue