Skip to content

Commit

Permalink
fix grammar in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet authored Jan 17, 2024
1 parent 33e9ad9 commit c717f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ func (n *LeafNode) Insert(key []byte, value []byte, _ NodeResolverFn) error {

stem := KeyToStem(key)
if !bytes.Equal(stem, n.stem) {
return fmt.Errorf("stems doesn't match: %x != %x", stem, n.stem)
return fmt.Errorf("stems don't match: %x != %x", stem, n.stem)
}
values := make([][]byte, NodeWidth)
values[key[StemSize]] = value
Expand Down

0 comments on commit c717f38

Please sign in to comment.