1 2 3 4 5 6 7 8
// run-pass use std::collections::HashMap; pub fn main() { let mut m = HashMap::new(); m.insert(b"foo".to_vec(), b"bar".to_vec()); println!("{:?}", m); }