Hashmap Entry Insert
September 2020 — February 2022
Pitch
Someone in the community discord wanted a feature and I was like “hey, why not try to implement it, that could be fun” (based on an existing but obsoleted PR).
impl<'a, K, V> Entry<'a, K, V> {
pub fn insert(self, value: V) -> OccupiedEntry<'a, K, V> {…}
}
Media
- https://twitter.com/passcod/status/1178568262310879232
- https://twitter.com/passcod/status/1180312263925780480
Outcome
Currently implemented behind the #![feature(entry_insert)]
flag, but getting redesigned.
I have checked out of it and am no longer interested nor involved.