aboutsummaryrefslogtreecommitdiffstats
path: root/util/text
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-04-26 19:36:46 +0200
committerMichael Muré <batolettre@gmail.com>2022-04-26 19:36:46 +0200
commit8ee333582ff82d0df971309e94946f2f6e69475b (patch)
tree0ba2904b8e27f5d17b247be2ee70dc6ba7157d59 /util/text
parenta00f1a98972239c4a57cc126e9b41e6c4c53b023 (diff)
downloadgit-bug-8ee333582ff82d0df971309e94946f2f6e69475b.tar.gz
a few fixes
Diffstat (limited to 'util/text')
-rw-r--r--util/text/validate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/text/validate.go b/util/text/validate.go
index 4c3f7065..f25a56b4 100644
--- a/util/text/validate.go
+++ b/util/text/validate.go
@@ -33,7 +33,7 @@ func Safe(s string) bool {
return true
}
-// Safe will tell if a character in the string is considered unsafe
+// SafeOneLine will tell if a character in the string is considered unsafe
// Currently trigger on all unicode control character
func SafeOneLine(s string) bool {
for _, r := range s {