(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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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