Skip to content

Commit

Permalink
Fix godoc comment variable name (#2698)
Browse files Browse the repository at this point in the history
* Fix godoc comment variable name
* Fix second wrong comment

---------

Co-authored-by: junedev <[email protected]>
  • Loading branch information
MarvinJWendt and junedev authored Sep 3, 2023
1 parent 2f9c7b1 commit 4ed9314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exercises/concept/election-day/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ The election result struct is already created for you and it's defined as:
type ElectionResult struct {
// Name of the candidate
Name string
// Number of votes the candidate had
// Votes of votes the candidate had
Votes int
}
```
Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/election-day/election_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ package electionday
type ElectionResult struct {
// Name is the name of the candidate.
Name string
// Number is the total number of votes the candidate had.
// Votes is the total number of votes the candidate had.
Votes int
}

0 comments on commit 4ed9314

Please sign in to comment.