Macro bubble_bath::hashmap

source ·
macro_rules! hashmap {
    ($($key:expr => $value:expr),*$(,)?) => { ... };
}
Expand description

Handy macro to construct a hashmap using the ahash hasher

Example:

hashmap! [
    "key" => hashmap![],
    "key2" => hashmap![
        "inner key" => "inner value",
    ],
];