Skip to content

Commit 42d1319

Browse files
committed
Remove spurious IDE changes
Undo changes to comments made by renaming via the IDE.
1 parent 3959b42 commit 42d1319

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

keepsorted/line_group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type accessRecorder struct {
6161
joinedComment bool
6262
}
6363

64-
// matchesAnyRegex returns true if s matchesSuffix one of the regexes.
64+
// matchesAnyRegex returns true if s matches one of the regexes.
6565
func matchesAnyRegex(s string, regexes []*regexp.Regexp) bool {
6666
for _, regex := range regexes {
6767
if regex.FindStringSubmatch(s) != nil {

keepsorted/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ func (opts blockOptions) hasGroupPrefix(s string) bool {
453453
}
454454

455455
// trimIgnorePrefix removes the first matching IgnorePrefixes from s, if s
456-
// matchesSuffix one of the IgnorePrefixes.
456+
// matches one of the IgnorePrefixes.
457457
func (opts blockOptions) trimIgnorePrefix(s string) string {
458458
_, s, _ = opts.cutFirstPrefix(s, slices.Values(opts.IgnorePrefixes))
459459
return s

0 commit comments

Comments
 (0)