chore: fix function name in comment

Signed-off-by: eveneast <qcqs@foxmail.com>
This commit is contained in:
eveneast 2024-04-15 15:09:51 +08:00
parent f386b29e16
commit a123744a8a

View file

@ -438,7 +438,7 @@ func (n *Node) VSplit(right bool) uint64 {
return n.hVSplit(0, right)
}
// unsplits the child of a split
// unsplit the child of a split
func (n *Node) unsplit(i int, h bool) {
copy(n.children[i:], n.children[i+1:])
n.children[len(n.children)-1] = nil