Skip to main content

split_map_entry

Function split_map_entry 

Source
pub fn split_map_entry(entry: &str) -> Option<(String, String)>
Expand description

One {key: value} entry’s key and value sources, split once on a top-level :. None when the entry is not exactly one pair.