mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-17 22:58:08 -05:00
fix typo
Similarely -> Similarly in comment
This commit is contained in:
parent
ce3dcc9856
commit
ed9740b72c
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn build_scores_table(results: &str) -> HashMap<&str, TeamScores> {
|
||||||
team_1.goals_scored += team_1_score;
|
team_1.goals_scored += team_1_score;
|
||||||
team_1.goals_conceded += team_2_score;
|
team_1.goals_conceded += team_2_score;
|
||||||
|
|
||||||
// Similarely for the second team.
|
// Similarly for the second team.
|
||||||
let team_2 = scores
|
let team_2 = scores
|
||||||
.entry(team_2_name)
|
.entry(team_2_name)
|
||||||
.or_insert_with(TeamScores::default);
|
.or_insert_with(TeamScores::default);
|
||||||
|
|
Loading…
Reference in a new issue