Skip to content

Commit c9c82d7

Browse files
committed
add blank identifier to range statement
1 parent 2ac9965 commit c9c82d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trie/dtrie/dtrie.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func New(hasher func(v interface{}) uint32) *Dtrie {
5353

5454
// Size returns the number of entries in the Dtrie.
5555
func (d *Dtrie) Size() (size int) {
56-
for range iterate(d.root, nil) {
56+
for _ = range iterate(d.root, nil) {
5757
size++
5858
}
5959
return size

0 commit comments

Comments
 (0)