There was an error while loading. Please reload this page.
1 parent 76d601f commit 2edd43fCopy full SHA for 2edd43f
radix.go
@@ -143,7 +143,7 @@ func longestPrefix(k1, k2 string) int {
143
}
144
145
// Insert is used to add a newentry or update
146
-// an existing entry. Returns if updated.
+// an existing entry. Returns true if an existing record is updated.
147
func (t *Tree) Insert(s string, v interface{}) (interface{}, bool) {
148
var parent *node
149
n := t.root
0 commit comments