mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +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
|
//! 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
|
//! 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
|
//! 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
|
//! [`Mutex`]: struct.Mutex.html
|
||||||
//! [`MutexGuard`]: struct.MutexGuard.html
|
//! [`MutexGuard`]: struct.MutexGuard.html
|
||||||
|
|||||||
Reference in New Issue
Block a user