mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +00:00
chore: run modernize
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user