From bb70cc18850eead01a43566282f9f597e4f8a5e3 Mon Sep 17 00:00:00 2001 From: Rebekah Kim Date: Fri, 22 Sep 2023 22:38:22 -0700 Subject: [PATCH] fix --- tokio/src/sync/mutex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/sync/mutex.rs b/tokio/src/sync/mutex.rs index be8093163e6..56b54a7786a 100644 --- a/tokio/src/sync/mutex.rs +++ b/tokio/src/sync/mutex.rs @@ -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