mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-17 00:00:11 +02:00
sync: fix docs typo (#6030)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user