Uh oh!
There was an error while loading. Please reload this page.
Derive Hash for ThreadId + better example - #41008
Conversation
rust-highfive
commented
Apr 2, 2017
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
sfackler
commented
Apr 2, 2017
Looks like the doctests are failing: Could you add |
nrc
commented
Apr 2, 2017
Note that there is already a |
sfackler
commented
Apr 2, 2017
Oh, that's weird. I have no problem with a derived implementation that actually shows the value. |
I think we originally did not derive |
alexcrichton
commented
Apr 3, 2017
Yeah hiding the value from the |
nrc
commented
Apr 3, 2017
it is irritating but also useless - you can always just transmute |
sfackler
commented
Apr 3, 2017
You monster! |
alexcrichton
commented
Apr 4, 2017
@rfcbot fcp merge |
Team member @alexcrichton has proposed to merge this. The next step is review by the rest of the tagged teams:
No concerns currently listed. Once these reviewers reach consensus, this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
frewsxcv
commented
Apr 4, 2017
I don't remember why I tagged this |
sagebind
commented
Apr 4, 2017
@frewsxcv Perhaps because the example code is updated for the |
peschkaj
commented
Apr 5, 2017
@rfcbot reviewed |
2 similar comments
sophiajt
commented
Apr 5, 2017
@rfcbot reviewed |
GuillaumeGomez
commented
Apr 5, 2017
@rfcbot reviewed |
alexcrichton
commented
Apr 11, 2017
@bors: r+ |
bors
commented
Apr 11, 2017
📌 Commit cd14a32 has been approved by |
Derive Hash for ThreadId + better example Derive `Hash` for `ThreadId` (see comments in rust-lang#21507). Useful for making maps based on thread, e.g. `HashMap<ThreadId, ?>`. Also update example code for thread IDs to be more useful.
Derive Hash for ThreadId + better example Derive `Hash` for `ThreadId` (see comments in rust-lang#21507). Useful for making maps based on thread, e.g. `HashMap<ThreadId, ?>`. Also update example code for thread IDs to be more useful.
bors
commented
Apr 12, 2017
⌛ Testing commit cd14a32 with merge d62179c... |
bors
commented
Apr 12, 2017
💔 Test failed - status-appveyor |
TimNN
commented
Apr 12, 2017
bors
commented
Apr 12, 2017
⌛ Testing commit cd14a32 with merge 4a78fc0... |
bors
commented
Apr 12, 2017
💔 Test failed - status-appveyor |
TimNN
commented
Apr 12, 2017
bors
commented
Apr 12, 2017
⌛ Testing commit cd14a32 with merge 14481f7... |
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.
bors
commented
Apr 12, 2017
☀️ Test successful - status-appveyor, status-travis |
Derive
HashforThreadId(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.