Skip to main content

str_map

Function str_map 

Source
pub fn str_map(pairs: &[(&str, &str)]) -> HashMap<String, String>
Expand description

Helper to build a HashMap<String, String> from a static slice of pairs.