diff options
| author | liv <mokou@fastmail.com> | 2024-03-15 14:32:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 14:32:12 +0100 |
| commit | 31e7920ceee7a6a0b96381a561245c53d38ae222 (patch) | |
| tree | 87e38dae962db78e84e7d806da156ac16dacb0c6 | |
| parent | 6fb45305f8612ab89f58b33279efd5775c15c657 (diff) | |
| parent | 9bda8598e166081dacdbcd2890381a062432f43c (diff) | |
Merge pull request #1869 from evanmiller2112/main
Clarify language in hashmap3.rs (sum vs per match)
| -rw-r--r-- | exercises/11_hashmaps/hashmaps3.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/exercises/11_hashmaps/hashmaps3.rs b/exercises/11_hashmaps/hashmaps3.rs index 36544ee..8d9236d 100644 --- a/exercises/11_hashmaps/hashmaps3.rs +++ b/exercises/11_hashmaps/hashmaps3.rs @@ -4,10 +4,11 @@ // the form : "<team_1_name>,<team_2_name>,<team_1_goals>,<team_2_goals>" // Example: England,France,4,2 (England scored 4 goals, France 2). // -// You have to build a scores table containing the name of the team, goals the -// team scored, and goals the team conceded. One approach to build the scores -// table is to use a Hashmap. The solution is partially written to use a -// Hashmap, complete it to pass the test. +// You have to build a scores table containing the name of the team, the total +// number of goals the team scored, and the total number of goals the team +// conceded. One approach to build the scores table is to use a Hashmap. +// The solution is partially written to use a Hashmap, +// complete it to pass the test. // // Make me pass the tests! // |
