Auto merge of #6028 - giraffate:fix_typo, r=flip1995

Fix typo

changelog: none
This commit is contained in:
bors 2020-09-10 15:41:29 +00:00
commit df6d7bfbef

View File

@ -10,7 +10,7 @@
/// **What it does:** Checks for calls to await while holding a /// **What it does:** Checks for calls to await while holding a
/// non-async-aware MutexGuard. /// non-async-aware MutexGuard.
/// ///
/// **Why is this bad?** The Mutex types found in syd::sync and parking_lot /// **Why is this bad?** The Mutex types found in std::sync and parking_lot
/// are not designed to operate in an async context across await points. /// 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 asynx-aware Mutex