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
There are already nearly identical methods named get_ref() and get_mut_ref() and std::hashmap names the equivalent method get. This method doesn't always move, it's just a normal by-value method, so it should follow the same convention as other get-or-fail methods. If it used the shorter naming, replacing get_mut_ref() with as_mut().get() would only add a character.