chore: run modernize

This commit is contained in:
Andrey Nering
2025-05-30 17:20:01 -03:00
parent b3f0c9e423
commit 04ec518a95
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func (s *sanitizer) Sanitize(runes []rune) []rune {
// is smaller or equal to the input.
copied := false
for src := 0; src < len(runes); src++ {
for src := range runes {
r := runes[src]
switch {
case r == utf8.RuneError: