Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gaissmai committed Jan 29, 2025
1 parent 3e29f49 commit 623a580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (n *node[V]) insertAtDepth(pfx netip.Prefix, val V, depth int) (exists bool

// create new node
// push the leaf down
// insert new child at cureent leaf position (addr)
// insert new child at current leaf position (addr)
// descend down, replace n with new child
c := new(node[V])
c.insertAtDepth(k.prefix, k.value, depth+1)
Expand Down

0 comments on commit 623a580

Please sign in to comment.