diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-29 16:36:05 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-29 16:36:05 -0800 |
| commit | 9f6eb29a9dc4b3236bde6afb1da4fcee49f5bd6a (patch) | |
| tree | 5a215e9f68b17a965ede8a8cd65e39b7d33ca3b1 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 9ac9d7af3b60c8536034a41434ab52e6261d8c24 (diff) | |
| parent | 11146856969515807f85796028d8a214aaac0528 (diff) | |
| download | rust-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
