Merge pull request #232 from situ2001/fix-typo

fix typo in hashmap.md
This commit is contained in:
Sunface 2022-05-05 08:29:11 +08:00 committed by GitHub
commit 6855412ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}