Skip to content

Commit

Permalink
update tip msg in split()
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Nov 22, 2024
1 parent 5f2c468 commit 8f2fa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radix/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (s *nodeS[T]) insertInternal(word []rune, fullPath string, data T) (node *n
}

func (s *nodeS[T]) split(pos int, word []rune) (newNode *nodeS[T]) { //nolint:unparam,revive
tip("[store/radix] [split] original path, pathS: %q, %q", string(s.path), s.pathS)
tip("[store/radix] split original path %q by word %q at pos %d", string(s.path), string(word), pos)

// origPath, origPathS := s.path, s.pathS
// if assertEnabled {
Expand Down

0 comments on commit 8f2fa38

Please sign in to comment.