From 56b51a9751600dd65ad4bbda5c0f3d7b8c6db970 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Wed, 7 Oct 2020 11:48:26 -0600 Subject: [PATCH] (docs): make mutex error comment consistent with codebase --- library/std/src/sync/mutex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sync/mutex.rs b/library/std/src/sync/mutex.rs index e8f5a6f4294..a01ebb316e8 100644 --- a/library/std/src/sync/mutex.rs +++ b/library/std/src/sync/mutex.rs @@ -276,7 +276,7 @@ impl Mutex { /// # 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