commit 98931e548f0689e43cbd4ee6036d31bfef19f023 parent 8698cf8dd43d2a62e9ae4e9f6fb535b729792761 Author: n0tr1v <n0tr1v@protonmail.com> Date: Thu, 17 Nov 2022 12:25:11 -0500 simplify code Diffstat:
| M | cmd/art/main.go | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/cmd/art/main.go b/cmd/art/main.go @@ -149,9 +149,8 @@ func getClassName(idx int) string { found = true out[i]++ break - } else { - out[i] = firstRune } + out[i] = firstRune } if !found { out = append(out, firstRune)