Tessil / hat-trie

C++ implementation of a fast and memory efficient HAT-trie
MIT License
793 stars 114 forks source link

Fix code example of `for_each_prefix_of` in comment #53

Closed PragmaTwice closed 2 months ago

PragmaTwice commented 9 months ago

The example of for_each_prefix_of gave some wrong results, which can be confusing for users.

This PR fixed them.

Tessil commented 2 months ago

Sorry for the delay.

Thank you, the change looks good, I missed that when reviewing the PR at the time.