Skip to content

Commit 3c0359b

Browse files
committed
lints
Signed-off-by: Ignacio Hagopian <[email protected]>
1 parent e9abf77 commit 3c0359b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func BatchNewLeafNode(nodesValues []BatchNewLeafNodeData) []LeafNode {
5757
}
5858

5959
sort.Slice(ret, func(i, j int) bool {
60-
return bytes.Compare(ret[i].stem[:], ret[j].stem[:]) < 0
60+
return bytes.Compare(ret[i].stem, ret[j].stem) < 0
6161
})
6262

6363
return ret

0 commit comments

Comments
 (0)