Skip to content

Commit

Permalink
Merge pull request #4 from kelwang/fix_unhandled_i
Browse files Browse the repository at this point in the history
fix: removed unused i
  • Loading branch information
boreq authored Aug 24, 2024
2 parents 502bbab + b3b27fa commit 75acc0f
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 75acc0f

Please sign in to comment.