2018-08-30 12:18:55 +00:00
|
|
|
// run-pass
|
2018-01-02 13:11:41 +00:00
|
|
|
|
2015-06-18 01:23:44 +00:00
|
|
|
use std::collections::HashMap;
|
|
|
|
use std::path::{Path, PathBuf};
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let m: HashMap<PathBuf, ()> = HashMap::new();
|
|
|
|
let k = Path::new("foo");
|
|
|
|
println!("{:?}", m.get(k));
|
|
|
|
}
|