Auto merge of #118792 - naglis:fix-mutex-doc-typo, r=workingjubilee · rust-lang/rust@c1a3919 (original) (raw)

Original file line number Diff line number Diff line change
@@ -146,7 +146,7 @@ use crate::sys::locks as sys;
146 146 /// let result = data.iter().fold(0, |acc, x
147 147 /// data.push(result);
148 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
149 +/// // thread still has work to do. This allows other threads to start working on
150 150 /// // the data immediately, without waiting for the rest of the unrelated work
151 151 /// // to be done here.
152 152 /// //