Skip to content

Commit

Permalink
Update rule/enforce-map-style.go
Browse files Browse the repository at this point in the history
  • Loading branch information
denisvmedia authored Sep 16, 2023
1 parent 0bb9835 commit 8cc3ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rule/enforce-map-style.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func mapStyleFromString(s string) (enforceMapStyleType, error) {
}
}

// EnforceMapStyleRule implements a rule to enforce `make(map[type]type)` over `map[type]type{}`
// EnforceMapStyleRule implements a rule to enforce `make(map[type]type)` over `map[type]type{}`.
type EnforceMapStyleRule struct {
configured bool
enforceMapStyle enforceMapStyleType
Expand Down

0 comments on commit 8cc3ecb

Please sign in to comment.