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 cae92ad commit 9bde414Copy full SHA for 9bde414
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