]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #22351 - blaenk:path-hash, r=huonw
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Feb 2015 13:03:11 +0000 (18:33 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Feb 2015 13:12:46 +0000 (18:42 +0530)
commit8acaaa9e0e631944ae809d3228561f7dfc44e66b
treeea46fea4d491453c8730ff769dcc83ef98c26212
parentc59f62b75f6bbf79df2283d250a568193927a4c3
parent10dd8e721e0682de31006ca311400819b634771e
Rollup merge of #22351 - blaenk:path-hash, r=huonw

 `PathBuf` does implement `Hash`, but `Path` doesn't. This makes it
annoying if you have a `HashMap` with `PathBuf`s as keys, because
it means you have to convert a `Path` into a `PathBuf` and get a
reference to it simply to perform operations on the `HashMap`!