From 47384f29d76a813214ef300f5a141c09da126750 Mon Sep 17 00:00:00 2001 From: Sunface Date: Wed, 7 Jun 2023 09:14:03 +0800 Subject: [PATCH] Update src/advance/concurrency-with-threads/sync1.md --- src/advance/concurrency-with-threads/sync1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/advance/concurrency-with-threads/sync1.md b/src/advance/concurrency-with-threads/sync1.md index 189ed122..7cc163a5 100644 --- a/src/advance/concurrency-with-threads/sync1.md +++ b/src/advance/concurrency-with-threads/sync1.md @@ -329,7 +329,7 @@ fn main() { println!("线程 {} 锁住了MUTEX2, 准备去锁MUTEX1", i_thread); sleep(Duration::from_millis(10)); let guard = MUTEX1.try_lock(); - println!("线程 {} 获取MUTEX1锁的结果: {:?}", i_thread, guard); + println!("线程 {} 获取 MUTEX1 锁的结果: {:?}", i_thread, guard); } } }));