]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_lints/src/await_holding_invalid.rs
Rollup merge of #87528 - :stack_overflow_obsd, r=joshtriplett
[rust.git] / src / tools / clippy / clippy_lints / src / await_holding_invalid.rs
index 0cc79c8b6e8cb4449ad75f5426aa68ac6d72fd59..28615b9217cd342df10851a1a308409f6c36a693 100644 (file)
@@ -16,7 +16,7 @@
     /// 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
+    /// There are two potential solutions. One is to use an async-aware Mutex
     /// type. Many asynchronous foundation crates provide such a Mutex type. The
     /// other solution is to ensure the mutex is unlocked before calling await,
     /// either by introducing a scope or an explicit call to Drop::drop.