mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
sync: fix docs typo (#6030)
This commit is contained in:
parent
74c7a87985
commit
aa36807c02
@ -103,7 +103,7 @@ use std::{fmt, mem, ptr};
|
||||
/// threads.
|
||||
/// 2. Each spawned task obtains a lock and releases it on every iteration.
|
||||
/// 3. Mutation of the data protected by the Mutex is done by de-referencing
|
||||
/// the obtained lock as seen on lines 12 and 19.
|
||||
/// the obtained lock as seen on lines 13 and 20.
|
||||
///
|
||||
/// Tokio's Mutex works in a simple FIFO (first in, first out) style where all
|
||||
/// calls to [`lock`] complete in the order they were performed. In that way the
|
||||
|
Loading…
x
Reference in New Issue
Block a user