Merge pull request #1547 from b-apperlo/b-apperlo-patch-2
fix: update hashmaps3.rs
This commit is contained in:
commit
974717ca11
|
@ -18,9 +18,8 @@
|
||||||
|
|
||||||
use std::collections::HashMap;
|
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 {
|
struct Team {
|
||||||
name: String,
|
|
||||||
goals_scored: u8,
|
goals_scored: u8,
|
||||||
goals_conceded: u8,
|
goals_conceded: u8,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue