File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ struct TeamScores {
17
17
18
18
fn build_scores_table ( results : & str ) -> HashMap < & str , TeamScores > {
19
19
// The name of the team is the key and its associated struct is the value.
20
- let mut scores = HashMap :: new ( ) ;
20
+ let mut scores = HashMap :: < & str , TeamScores > :: new ( ) ;
21
21
22
22
for line in results. lines ( ) {
23
23
let mut split_iterator = line. split ( ',' ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ struct TeamScores {
17
17
18
18
fn build_scores_table ( results : & str ) -> HashMap < & str , TeamScores > {
19
19
// The name of the team is the key and its associated struct is the value.
20
- let mut scores = HashMap :: new ( ) ;
20
+ let mut scores = HashMap :: < & str , TeamScores > :: new ( ) ;
21
21
22
22
for line in results. lines ( ) {
23
23
let mut split_iterator = line. split ( ',' ) ;
You can’t perform that action at this time.
0 commit comments