rust/tests/ui/issues/issue-1696.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
167 B
Rust
Raw Normal View History

// run-pass
use std::collections::HashMap;
2012-02-22 23:17:09 -06:00
pub fn main() {
let mut m = HashMap::new();
m.insert(b"foo".to_vec(), b"bar".to_vec());
println!("{:?}", m);
2012-02-22 23:17:09 -06:00
}