Skip to content

Commit 685b773

Browse files
committed
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"
2 parents fb17671 + 30ea0a5 commit 685b773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/await_holding_invalid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ declare_clippy_lint! {
1616
/// The Mutex types found in std::sync and parking_lot
1717
/// are not designed to operate in an async context across await points.
1818
///
19-
/// There are two potential solutions. One is to use an asynx-aware Mutex
19+
/// There are two potential solutions. One is to use an async-aware Mutex
2020
/// type. Many asynchronous foundation crates provide such a Mutex type. The
2121
/// other solution is to ensure the mutex is unlocked before calling await,
2222
/// either by introducing a scope or an explicit call to Drop::drop.

0 commit comments

Comments
 (0)