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
Right now, core::hashmap has a find_equiv method in addition to find which is useful for situations like using &str for a lookup in a map with ~str keys instead of having to use &~str.
It would probably be better to add a type parameter to the comparison traits (TotalEq, etc.) and possibly allow x == y with different types on each side.
The text was updated successfully, but these errors were encountered:
Right now,
core::hashmap
has afind_equiv
method in addition tofind
which is useful for situations like using&str
for a lookup in a map with~str
keys instead of having to use&~str
.It would probably be better to add a type parameter to the comparison traits (TotalEq, etc.) and possibly allow
x == y
with different types on each side.The text was updated successfully, but these errors were encountered: