Entry API

Description

A short, prose description of the pattern.

Example


#![allow(unused)]
fn main() {
// An example of the pattern in action, should be mostly code, commented
// liberally.
}

Motivation

Why and where you should use the pattern

Advantages

Good things about this pattern.

Disadvantages

Bad things about this pattern. Possible contraindications.

Discussion

TODO vs insert_or_update etc.

See also

RFC RFC

Hashmap::entry docs