aboutsummaryrefslogtreecommitdiff
path: root/src/strings/strings.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/strings.go')
-rw-r--r--src/strings/strings.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/strings/strings.go b/src/strings/strings.go
index cee315ce9e..869cdcdcef 100644
--- a/src/strings/strings.go
+++ b/src/strings/strings.go
@@ -969,7 +969,8 @@ func ReplaceAll(s, old, new string) string {
}
// EqualFold reports whether s and t, interpreted as UTF-8 strings,
-// are equal under Unicode case-folding.
+// are equal under Unicode case-folding, which is a more general
+// form of case-insensitivity.
func EqualFold(s, t string) bool {
for s != "" && t != "" {
// Extract first rune from each string.