trie/bintrie: remove redundant pre-Hash call in ToDot

This commit is contained in:
GarmashAlex 2025-10-02 13:24:53 +03:00 committed by GitHub
parent 057667151b
commit 639801dd05
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,6 @@ type BinaryTrie struct {
// ToDot converts the binary trie to a DOT language representation. Useful for debugging. // ToDot converts the binary trie to a DOT language representation. Useful for debugging.
func (t *BinaryTrie) ToDot() string { func (t *BinaryTrie) ToDot() string {
t.root.Hash()
return ToDot(t.root) return ToDot(t.root)
} }