]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/await_holding_lock.rs
Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup
[rust.git] / src / tools / clippy / clippy_lints / src / await_holding_lock.rs
index 20b91bc0f1bafcbc4e2b7cf6065262fef1553d07..d337262dfa6e2384897d37267bb1ec5ef0cd784e 100644 (file)
@@ -11,7 +11,7 @@
     /// non-async-aware MutexGuard.
     ///
     /// **Why is this bad?** The Mutex types found in syd::sync and parking_lot
-    /// are not designed to operator 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
     /// type. Many asynchronous foundation crates provide such a Mutex type. The