summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMo <76752051+mo8it@users.noreply.github.com>2024-08-16 00:12:58 +0200
committerGitHub <noreply@github.com>2024-08-16 00:12:58 +0200
commit8a038b946c9470178f2f72d4824b2475f01ec471 (patch)
tree15da58778d269104688129eae51dd8a5ad577fce
parentce3dcc98560a7555386556ba13d5e901bb27e2ed (diff)
parented9740b72cbea165e030507ad5212e91d834d466 (diff)
Merge pull request #2084 from crd477/patch-1
fix typo
-rw-r--r--solutions/11_hashmaps/hashmaps3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/solutions/11_hashmaps/hashmaps3.rs b/solutions/11_hashmaps/hashmaps3.rs
index 9c58b2d..8a5d30b 100644
--- a/solutions/11_hashmaps/hashmaps3.rs
+++ b/solutions/11_hashmaps/hashmaps3.rs
@@ -35,7 +35,7 @@ fn build_scores_table(results: &str) -> HashMap<&str, TeamScores> {
team_1.goals_scored += team_1_score;
team_1.goals_conceded += team_2_score;
- // Similarely for the second team.
+ // Similarly for the second team.
let team_2 = scores
.entry(team_2_name)
.or_insert_with(TeamScores::default);