Skip to content

Commit 63053a0

Browse files
committed
Nicer range
1 parent 4b4ade5 commit 63053a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/arduino/libraries/libraries.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func (library *Library) UnmarshalBinary(in io.Reader, prefix *paths.Path) error
287287
return nil, err
288288
}
289289
res := map[string]bool{}
290-
for i := uint16(0); i < len; i++ {
290+
for range len {
291291
k, err := readString()
292292
if err != nil {
293293
return nil, err

0 commit comments

Comments
 (0)