summaryrefslogtreecommitdiff
path: root/solutions/11_hashmaps/hashmaps3.rs
diff options
context:
space:
mode:
authorChad Dougherty <crd@acm.org>2024-08-15 14:21:27 -0400
committerGitHub <noreply@github.com>2024-08-15 14:21:27 -0400
commited9740b72cbea165e030507ad5212e91d834d466 (patch)
tree15da58778d269104688129eae51dd8a5ad577fce /solutions/11_hashmaps/hashmaps3.rs
parentce3dcc98560a7555386556ba13d5e901bb27e2ed (diff)
fix typo
Similarely -> Similarly in comment
Diffstat (limited to 'solutions/11_hashmaps/hashmaps3.rs')
-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);