1
0
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:
Oleksandr Redko
2024-12-01 17:44:41 +02:00
committed by GitHub
parent b532dc8e5e
commit d181862481
45 changed files with 45 additions and 45 deletions

View File

@@ -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.