about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorJorge Israel Peña <jorge.israel.p@gmail.com>2015-02-14 02:43:36 -0800
committerJorge Israel Peña <jorge.israel.p@gmail.com>2015-02-14 02:43:36 -0800
commit10dd8e721e0682de31006ca311400819b634771e (patch)
tree80c979fbb178978edafe563ad3a58a366accc426 /src/test/codegen/stack-alloc-string-slice.rs
parentb63cee4a11fcfecf20ed8419bc3bd6859e6496bc (diff)
downloadrust-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