[−][src]Macro arthroprod::map
A simple helper for constructing hashmaps with less verbosity.
Examples
use std::collections::HashMap; let m = map!{ "foo" => vec![1, 2, 3], "bar" => vec![4, 5, 6] }; assert_eq!(m.get("foo"), Some(&vec![1, 2, 3]));