profile
viewpoint

issue commentrust-lang/rust

Tracking issue for entry-like methods on HashSet

@jonas-schievink Would something like this work?

if let e@Entry::Vacant = map.entry(some_key) {
    if condition { e.insert(new_value); }
}
cuviper

comment created time in 2 months

startedAlternativeFFFF/Alt-F4

started time in 2 months

more