Skip to content

Commit

Permalink
Nicer range
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Oct 3, 2024
1 parent 64ca4ad commit 05c9574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/arduino/libraries/libraries.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (library *Library) UnmarshalBinary(in io.Reader, prefix *paths.Path) error
return nil, err
}
res := map[string]bool{}
for i := uint16(0); i < len; i++ {
for range len {
k, err := readString()
if err != nil {
return nil, err
Expand Down

0 comments on commit 05c9574

Please sign in to comment.