From 7c2f2a5dd311515f6e8803696c64a4c643470e12 Mon Sep 17 00:00:00 2001 From: Fangzhou Liu Date: Sat, 16 Nov 2024 11:56:55 +1100 Subject: [PATCH] Refactor sentence and fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refactor sentence: "当我们引入全局可用的print!宏在教程03,我门有一点作弊。" -> "我们在教程03引入全局可用的`print!`宏时有一点作弊。" Fix typo: "我门" typo corrected during sentence refactoring --- 04_safe_globals/README.CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_safe_globals/README.CN.md b/04_safe_globals/README.CN.md index eb35c006d..38f2a2711 100644 --- a/04_safe_globals/README.CN.md +++ b/04_safe_globals/README.CN.md @@ -7,7 +7,7 @@ ## Rust中的全局可变 -当我们引入全局可用的`print!`宏在 [教程03],我门有一点作弊。 调用 +我们在 [教程03]引入全局可用的`print!`宏时有一点作弊。 调用 `core::fmt`的`write_fmt()`函数,接受`&mut self`的方法之所以有效, 是因为在每次调用时都会创建一个新的`QEMUOutput`实例。