2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2014-05-29 21:03:06 -05:00
|
|
|
use std::collections::HashMap;
|
2012-02-22 23:17:09 -06:00
|
|
|
|
2013-02-01 21:43:17 -06:00
|
|
|
pub fn main() {
|
2013-04-03 08:28:36 -05:00
|
|
|
let mut m = HashMap::new();
|
2014-07-16 15:37:28 -05:00
|
|
|
m.insert(b"foo".to_vec(), b"bar".to_vec());
|
2014-12-20 02:09:35 -06:00
|
|
|
println!("{:?}", m);
|
2012-02-22 23:17:09 -06:00
|
|
|
}
|