]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo
authorTakayuki Nakata <f.seasons017@gmail.com>
Thu, 10 Sep 2020 13:39:08 +0000 (22:39 +0900)
committerTakayuki Nakata <f.seasons017@gmail.com>
Thu, 10 Sep 2020 13:41:08 +0000 (22:41 +0900)
clippy_lints/src/await_holding_lock.rs

index f18e7e5d99755d425d75ec2eab98574c409cb7a0..367534499fd020665de7e1efda36a2d0742d3005 100644 (file)
@@ -10,7 +10,7 @@
     /// **What it does:** Checks for calls to await while holding a
     /// 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.
     ///
     /// There are two potential solutions. One is to use an asynx-aware Mutex