From a3279c2c9acf64bbf71e90b78e0191124b654f83 Mon Sep 17 00:00:00 2001 From: JiaoXin2005 <337471479@qq.com> Date: Fri, 18 Feb 2022 14:10:59 +0800 Subject: [PATCH] Update thread.md --- contents/advance/concurrency-with-threads/thread.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contents/advance/concurrency-with-threads/thread.md b/contents/advance/concurrency-with-threads/thread.md index 37a350c0..85cc02df 100644 --- a/contents/advance/concurrency-with-threads/thread.md +++ b/contents/advance/concurrency-with-threads/thread.md @@ -185,9 +185,9 @@ fn main() { use std::thread; use std::time::Duration; fn main() { - // 创建一个线程 + // 创建一个线程A let new_thread = thread::spawn(move || { - // 再创建一个线程 + // 再创建一个线程B thread::spawn(move || { loop { println!("I am a new thread.");