mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
Removes linter warning
Renamed unused parameter `arguments` to `_`
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
|||||||
type RangeValInClosureRule struct{}
|
type RangeValInClosureRule struct{}
|
||||||
|
|
||||||
// Apply applies the rule to given file.
|
// Apply applies the rule to given file.
|
||||||
func (r *RangeValInClosureRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure {
|
func (r *RangeValInClosureRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure {
|
||||||
var failures []lint.Failure
|
var failures []lint.Failure
|
||||||
|
|
||||||
walker := rangeValInClosure{
|
walker := rangeValInClosure{
|
||||||
|
|||||||
Reference in New Issue
Block a user