mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
fix typo
Similarely -> Similarly in comment
This commit is contained in:
parent
ce3dcc9856
commit
ed9740b72c
|
@ -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