1#[allow(unused_macros)] // this is actually used 2macro_rules! map { 3 ($($x:expr => $y:expr),*) => {{ 4 let mut temp_map = std::collections::BTreeMap::new(); 5 $(temp_map.insert($x, $y);)* 6 temp_map 7 }} 8} 9