You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Judging by docstrings, for any m: OrdMap, m.get_prev(&key) should return the same results as m.range(..=key).next_back(). But that's not the case, and get_prev sometimes returns None where range returns Some.
Judging by docstrings, for any
m: OrdMap
,m.get_prev(&key)
should return the same results asm.range(..=key).next_back()
. But that's not the case, andget_prev
sometimes returnsNone
whererange
returnsSome
.I created a repo that reproduces the problem. Hopefully you find it helpful for debugging: https://github.com/bojanserafimov/im_crate_bug_report
The text was updated successfully, but these errors were encountered: