I noticed some odd behavior recently when using TreeIndex while attempting to retrieve a range using bounds where the lower bound is smaller than the first key in the TreeIndex. That's a lot of words. So, here is a minimal example which should be easier to follow.
I believe that this is a bug, and should be fixed. At the very least, it should be documented. I apologize if it is already called out, and I missed it somehow.
Hello,
First off, thank you for this awesome crate.
I noticed some odd behavior recently when using
TreeIndex
while attempting to retrieve a range using bounds where the lower bound is smaller than the first key in theTreeIndex
. That's a lot of words. So, here is a minimal example which should be easier to follow.Minimal example
Output
Asks
I believe that this is a bug, and should be fixed. At the very least, it should be documented. I apologize if it is already called out, and I missed it somehow.