Skip to content

Commit df6d7bf

Browse files
committed
Auto merge of rust-lang#6028 - giraffate:fix_typo, r=flip1995
Fix typo changelog: none
2 parents 99374ae + f1775f0 commit df6d7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/await_holding_lock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ declare_clippy_lint! {
1010
/// **What it does:** Checks for calls to await while holding a
1111
/// non-async-aware MutexGuard.
1212
///
13-
/// **Why is this bad?** The Mutex types found in syd::sync and parking_lot
13+
/// **Why is this bad?** The Mutex types found in std::sync and parking_lot
1414
/// are not designed to operate in an async context across await points.
1515
///
1616
/// There are two potential solutions. One is to use an asynx-aware Mutex

0 commit comments

Comments
 (0)