about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-04-12 19:58:10 +0000
committerbors <bors@rust-lang.org>2017-04-12 19:58:10 +0000
commit14481f72102ba2abb5f314d5537fee90352981c5 (patch)
treee0fc0e422b9fe5ede3464f83c86e3db541aebac5 /src/test/run-pass/thinlto
parent910c4816fdee01a1299d11a5e85ebb4aceee6d1a (diff)
parentcd14a323f42cf57695e713a4f4fd00fddc10efd5 (diff)
downloadrust-14481f72102ba2abb5f314d5537fee90352981c5.tar.gz
rust-14481f72102ba2abb5f314d5537fee90352981c5.zip
Auto merge of #41008 - sagebind:thread_id, r=alexcrichton
Derive Hash for ThreadId + better example

Derive `Hash` for `ThreadId` (see comments in #21507). Useful for making maps based on thread, e.g. `HashMap<ThreadId, ?>`. Also update example code for thread IDs to be more useful.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions