Skip to content

Commit 80e9e5b

Browse files
committed
Fix naming.
1 parent fa6ac64 commit 80e9e5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

getters.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (pf *parsedFile) getComments(scope Scope, exclude []*regexp.Regexp) []comme
6868
comments = pf.getAllComments(exclude)
6969
case NoInlineScope:
7070
// All except inline comments
71-
comments = pf.getNoInline(exclude)
71+
comments = pf.getNoInlineComments(exclude)
7272
case TopLevelScope:
7373
// All top level comments and comments from the inside
7474
// of top level blocks
@@ -176,8 +176,8 @@ func (pf *parsedFile) getDeclarationComments(exclude []*regexp.Regexp) []comment
176176
return comments
177177
}
178178

179-
// getNoInline gets all except inline comments.
180-
func (pf *parsedFile) getNoInline(exclude []*regexp.Regexp) []comment {
179+
// getNoInlineComments gets all except inline comments.
180+
func (pf *parsedFile) getNoInlineComments(exclude []*regexp.Regexp) []comment {
181181
var comments []comment //nolint:prealloc
182182
for _, c := range pf.file.Comments {
183183
if c == nil || len(c.List) == 0 {

0 commit comments

Comments
 (0)