From c1829dfa83be63f942ca6fb01510b271238fe20f Mon Sep 17 00:00:00 2001 From: Walter Karig Date: Mon, 11 Mar 2024 23:47:05 +0100 Subject: [PATCH] Update ch08-03-hash-maps.md Tippfehler korrigiert. --- src/ch08-03-hash-maps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch08-03-hash-maps.md b/src/ch08-03-hash-maps.md index 9895ee7a..b2e27d58 100644 --- a/src/ch08-03-hash-maps.md +++ b/src/ch08-03-hash-maps.md @@ -64,7 +64,7 @@ use std::collections::HashMap; let mut scores = HashMap::new(); scores.insert(String::from("Blau"), 10); -scores.insert(String::from("Geld"), 50); +scores.insert(String::from("Gelb"), 50); let team_name = String::from("Blau"); let score = scores.get(&team_name).copied().unwrap_or(0);