diff options
| author | Chad Dougherty <crd@acm.org> | 2024-08-15 14:21:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-15 14:21:27 -0400 |
| commit | ed9740b72cbea165e030507ad5212e91d834d466 (patch) | |
| tree | 15da58778d269104688129eae51dd8a5ad577fce | |
| parent | ce3dcc98560a7555386556ba13d5e901bb27e2ed (diff) | |
fix typo
Similarely -> Similarly in comment
| -rw-r--r-- | solutions/11_hashmaps/hashmaps3.rs | 2 |
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); |
