mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-16 00:00:12 +02:00
sync::Mutex: Fix typo in documentation (#1934)
This commit is contained in:
committed by
Lucio Franco
parent
2450b5bfc9
commit
41ffdbb7d9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user