Skip to content

Commit

Permalink
(docs): make mutex error comment consistent with codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice authored Oct 7, 2020
1 parent deec530 commit 56b51a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sync/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ impl<T: ?Sized> Mutex<T> {
/// # Errors
///
/// 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.
///
/// # Examples
Expand Down

0 comments on commit 56b51a9

Please sign in to comment.