fix zero type

This commit is contained in:
magical 2022-01-23 03:13:39 +00:00
父節點 82711582b1
當前提交 02db918b6f

查看文件

@ -112,7 +112,7 @@ func (n collision) getNode(hash uint32, key Key) interface{} {
return nil
}
func lookup(root interface{}, shift, hash uint32, key Key, zero Key) (Value, bool) {
func lookup(root interface{}, shift, hash uint32, key Key, zero Value) (Value, bool) {
cur := root
for {
switch n := cur.(type) {