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
In methods like std::vec::Vec::drain_filter, the element is removed if the closure returns true. But in hashbrown::HashMap::drain_filter (#135) and hashbrown::HashSet::drain_filter (#179), the element is removed if the closure returns false. 😦
Update: This is fixed in hashbrown 0.9.0. When upgrading from earlier versions, all callers must flip the meaning of the predicate passed to the drain_filter method. I have submitted pull requests to all the affected crates I could find.