From 67964672fc51505a93f14e7dbae13a7c5be75879 Mon Sep 17 00:00:00 2001 From: situ2001 Date: Thu, 5 May 2022 00:44:14 +0800 Subject: [PATCH] fix typo in hashmap.md --- zh-CN/src/collections/hashmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-CN/src/collections/hashmap.md b/zh-CN/src/collections/hashmap.md index b60159a..ee7fca1 100644 --- a/zh-CN/src/collections/hashmap.md +++ b/zh-CN/src/collections/hashmap.md @@ -140,7 +140,7 @@ fn main() { (Viking::new("Harald", "Iceland"), 12), ]); - // 使用 derive 的方式来打印 vikong 的当前状态 + // 使用 derive 的方式来打印 viking 的当前状态 for (viking, health) in &vikings { println!("{:?} has {} hp", viking, health); }