summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2023-06-12 12:18:36 +0200
committerGitHub <noreply@github.com>2023-06-12 12:18:36 +0200
commit974717ca11137cda184c1362fd67b283fed6a63c (patch)
tree19fb5015f5be412ff0bf7a295850d7daa7bd48ae /exercises
parentd77e6c0d050c7fc21b67c507a81876be85c642a4 (diff)
parenta4fe3602b238f38e9fd245874c863852791129fb (diff)
Merge pull request #1547 from b-apperlo/b-apperlo-patch-2
fix: update hashmaps3.rs
Diffstat (limited to 'exercises')
-rw-r--r--exercises/hashmaps/hashmaps3.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/exercises/hashmaps/hashmaps3.rs b/exercises/hashmaps/hashmaps3.rs
index ad3baa6..0d0a43a 100644
--- a/exercises/hashmaps/hashmaps3.rs
+++ b/exercises/hashmaps/hashmaps3.rs
@@ -18,9 +18,8 @@
use std::collections::HashMap;
-// A structure to store team name and its goal details.
+// A structure to store the goal details of a team.
struct Team {
- name: String,
goals_scored: u8,
goals_conceded: u8,
}