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
Change key to return `&K` rather than `&Q`
also changes `EntryRef::and_replace_entry_with` and `OccupiedEntryRef::replace_entry_with` to also give out `&K`
Fixes: #421
returning
Q
unnecessarily throws away the key type, which may have extra information needed by the user, e.g. theRc
you want toclone
.example where returning
K
is useful:The text was updated successfully, but these errors were encountered: