mirror of
https://github.com/mgechev/revive.git
synced 2025-11-25 22:12:38 +02:00
docs: fix rule descriptions (#1147)
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/mgechev/revive/lint"
|
||||
)
|
||||
|
||||
// RangeRule lints given else constructs.
|
||||
// RangeRule prevents redundant variables when iterating over a collection.
|
||||
type RangeRule struct{}
|
||||
|
||||
// Apply applies the rule to given file.
|
||||
|
||||
Reference in New Issue
Block a user