about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-29 16:36:05 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-29 16:36:05 -0800
commit9f6eb29a9dc4b3236bde6afb1da4fcee49f5bd6a (patch)
tree5a215e9f68b17a965ede8a8cd65e39b7d33ca3b1 /src/rustllvm/ExecutionEngineWrapper.cpp
parent9ac9d7af3b60c8536034a41434ab52e6261d8c24 (diff)
parent11146856969515807f85796028d8a214aaac0528 (diff)
downloadrust-9f6eb29a9dc4b3236bde6afb1da4fcee49f5bd6a.tar.gz
rust-9f6eb29a9dc4b3236bde6afb1da4fcee49f5bd6a.zip
rollup merge of #20214: bluss/fix-hashmap-example
The example derived Hash + Eq on a type that was used as *values* for
a hashmap.. for the example to make sense, we have to use a custom *key*
type.

Write a slightly more involved example, still using Vikings, but this
time as key.

I preferred using String over &str here, since that's the typical usage
and we might want to lead users down that path.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions