(docs): make mutex error comment consistent with codebase

This commit is contained in:
Steve Manuel
2020-10-07 11:48:26 -06:00
committed by GitHub
parent deec530523
commit 56b51a9751

View File

@@ -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