Skip to content

Commit

Permalink
fix: removed unused i
Browse files Browse the repository at this point in the history
  • Loading branch information
kelwang committed Aug 16, 2024
1 parent 502bbab commit b3b27fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/http/dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func canDisplayAsString(b []byte) bool {
return true
}

for i, rne := range string(b) {
for _, rne := range string(b) {
if !unicode.IsGraphic(rne) {
return false
}
Expand Down

0 comments on commit b3b27fa

Please sign in to comment.