(docs): make mutex error comment consistent with codebase
This commit is contained in:
parent
deec530523
commit
56b51a9751
|
@ -276,7 +276,7 @@ impl<T: ?Sized> Mutex<T> {
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// If another user of this mutex panicked while holding the mutex, then
|
/// If another user of this mutex panicked while holding the mutex, then
|
||||||
/// this call will return failure if the mutex would otherwise be
|
/// this call will return an error if the mutex would otherwise be
|
||||||
/// acquired.
|
/// acquired.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
|
Loading…
Reference in New Issue