let mut map = HashMap::new(); map.insert("a", 1); let value = map.get("a"); map.insert("b", 2); println!("{}", value.unwrap());