diff options
| author | Jorge Israel Peña <jorge.israel.p@gmail.com> | 2015-02-14 02:43:36 -0800 |
|---|---|---|
| committer | Jorge Israel Peña <jorge.israel.p@gmail.com> | 2015-02-14 02:43:36 -0800 |
| commit | 10dd8e721e0682de31006ca311400819b634771e (patch) | |
| tree | 80c979fbb178978edafe563ad3a58a366accc426 /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | b63cee4a11fcfecf20ed8419bc3bd6859e6496bc (diff) | |
| download | rust-10dd8e721e0682de31006ca311400819b634771e.tar.gz rust-10dd8e721e0682de31006ca311400819b634771e.zip | |
we forgot to make `Path` implement `Hash`
`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`!
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions
