mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
modernizes for loop in cmd/, internal/ (#21309)
This commit is contained in:
@@ -332,7 +332,7 @@ func (d *Decoder) u4() rune {
|
||||
// logic taken from:
|
||||
// github.com/buger/jsonparser/blob/master/escape.go#L20
|
||||
var h [4]int
|
||||
for i := 0; i < 4; i++ {
|
||||
for i := range 4 {
|
||||
c := d.next()
|
||||
switch {
|
||||
case c >= '0' && c <= '9':
|
||||
|
||||
Reference in New Issue
Block a user