Skip to content

Commit 4410b65

Browse files
committed
doc: update linter description
1 parent 90afb8d commit 4410b65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/analyzer/analyzer.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616

1717
var Analyzer = &analysis.Analyzer{
1818
Name: "fatcontext",
19-
Doc: "detects nested contexts in loops",
19+
Doc: "detects nested contexts in loops and function literals",
2020
Run: run,
2121
Requires: []*analysis.Analyzer{inspect.Analyzer},
2222
}
@@ -70,7 +70,6 @@ func run(pass *analysis.Pass) (interface{}, error) {
7070
Message: getReportMessage(node),
7171
SuggestedFixes: fixes,
7272
})
73-
7473
})
7574

7675
return nil, nil

0 commit comments

Comments
 (0)