Skip to content

Commit

Permalink
remove unneeded cast
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Sep 17, 2021
1 parent b095589 commit df3a896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bytes.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (tree *Bytes) Put(key string, value interface{}) bool {
},
}
if i < len(key)-1 {
newChild.prefix = string(key[i+1:])
newChild.prefix = key[i+1:]
}
newEdge = byteEdge{radix, newChild}
hasNewEdge = true
Expand Down

0 comments on commit df3a896

Please sign in to comment.