Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Similarely -> Similarly in comment
  • Loading branch information
crd477 committed Aug 15, 2024
1 parent ce3dcc9 commit ed9740b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solutions/11_hashmaps/hashmaps3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ed9740b

Please sign in to comment.