diff --git a/rule/enforce-map-style.go b/rule/enforce-map-style.go index 48b3bd33e..baa8c2b7d 100644 --- a/rule/enforce-map-style.go +++ b/rule/enforce-map-style.go @@ -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