From 7f1e6f54e7d0686c3825a3b56b68bdbba7f66acf Mon Sep 17 00:00:00 2001 From: zongzi531 Date: Thu, 10 Feb 2022 12:56:19 +0800 Subject: [PATCH] Fix typo in compound-type/struct.md --- book/contents/basic/compound-type/struct.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/contents/basic/compound-type/struct.md b/book/contents/basic/compound-type/struct.md index da500617..d501ffed 100644 --- a/book/contents/basic/compound-type/struct.md +++ b/book/contents/basic/compound-type/struct.md @@ -190,7 +190,7 @@ struct AlwaysEqual; let subject = AlwaysEqual; -// 我们不关心为 AlwaysEqual 的字段数据,只关心它的行为,因此将它声明为元结构体,然后再为它实现某个特征 +// 我们不关心 AlwaysEqual 的字段数据,只关心它的行为,因此将它声明为元结构体,然后再为它实现某个特征 impl SomeTrait for AlwaysEqual { }