]> git.giacomolli.uk - onechat/blobdiff - whatsapp_find.go
Reflow comments over the reflow width
[onechat] / whatsapp_find.go
index b825a3ecaeea218bf31f5d9c2f4b87c46746edae..9e3cbf8d9c75c6f4c4d8cd07dc87406eedd20cdd 100644 (file)
@@ -112,8 +112,8 @@ func whatsappFold(text string) string {
        return strings.ToLower(strings.TrimSpace(folded))
 }
 
-// whatsappFindAnswer returns the answer of whatsappFind for name with matches. Without
-// groups, the answer says that it has no groups.
+// whatsappFindAnswer returns the answer of whatsappFind for name with matches.
+// Without groups, the answer says that it has no groups.
 func whatsappFindAnswer(name string, matches []WhatsAppMatch, groups bool) string {
        slices.SortFunc(matches, func(a, b WhatsAppMatch) int {
                return cmp.Or(strings.Compare(whatsappFold(a.name), whatsappFold(b.name)), strings.Compare(a.id, b.id))