From 41ffdbb7d9396708bed868906cd5da837377c9fc Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Mon, 9 Dec 2019 21:07:21 +0100 Subject: [PATCH] sync::Mutex: Fix typo in documentation (#1934) --- tokio/src/sync/mutex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/sync/mutex.rs b/tokio/src/sync/mutex.rs index cf42c3e1f..07a5a63f4 100644 --- a/tokio/src/sync/mutex.rs +++ b/tokio/src/sync/mutex.rs @@ -29,7 +29,7 @@ //! Note that in contrast to `std::sync::Mutex`, this implementation does not //! poison the mutex when a thread holding the `MutexGuard` panics. In such a //! case, the mutex will be unlocked. If the panic is caught, this might leave -//! the data protected by the mutes in an inconsistent state. +//! the data protected by the mutex in an inconsistent state. //! //! [`Mutex`]: struct.Mutex.html //! [`MutexGuard`]: struct.MutexGuard.html