mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-20 19:47:33 +00:00
(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
Block a user