Skip to content

Commit

Permalink
sync: fix docs typo (#6030)
Browse files Browse the repository at this point in the history
  • Loading branch information
rebekahkim authored Sep 23, 2023
1 parent 74c7a87 commit aa36807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/mutex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa36807

Please sign in to comment.