Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::sync::Mutex
1 parent 06e02d5 commit 7d50a39Copy full SHA for 7d50a39
library/std/src/sync/mutex.rs
@@ -146,7 +146,7 @@ use crate::sys::locks as sys;
146
/// let result = data.iter().fold(0, |acc, x| acc + x * 2);
147
/// data.push(result);
148
/// // We drop the `data` explicitly because it's not necessary anymore and the
149
-/// // thread still has work to do. This allow other threads to start working on
+/// // thread still has work to do. This allows other threads to start working on
150
/// // the data immediately, without waiting for the rest of the unrelated work
151
/// // to be done here.
152
/// //
0 commit comments