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.
1 parent deec530 commit 56b51a9Copy full SHA for 56b51a9
library/std/src/sync/mutex.rs
@@ -276,7 +276,7 @@ impl<T: ?Sized> Mutex<T> {
276
/// # Errors
277
///
278
/// If another user of this mutex panicked while holding the mutex, then
279
- /// this call will return failure if the mutex would otherwise be
+ /// this call will return an error if the mutex would otherwise be
280
/// acquired.
281
282
/// # Examples
0 commit comments