-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Hash impl for SystemTime and Instant #46828
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @dtolnay (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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks good to me.
Regarding non-Linux platforms, I don't know either but we can see what CI says and go from there. @bors try |
⌛ Trying commit 1d5ead4 with merge 5bda5adfa1eec94bc3149b70b3bfb2bd242cbe42... |
Since this is adding some new stable trait impls, let's run it by the rest of @rust-lang/libs as well. impl Hash for std::time::Instant { /* ... */ }
impl Hash for std::time::SystemTime { /* ... */ } @rfcbot fcp merge |
Team member @dtolnay 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. |
☀️ Test successful - status-travis |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
@bors: r=dtolnay |
📌 Commit 1d5ead4 has been approved by |
…tolnay Add Hash impl for SystemTime and Instant Closes rust-lang#46670. Not sure how to actually test non-Linux platforms. `rustc --target=i686-pc-windows-gnu --crate-name std --crate-type rlib src/libstd/lib.rs -o q.rlib` works a bit, but for Redox I'm not sure what to do. r? @dtolnay
Closes #46670.
Not sure how to actually test non-Linux platforms.
rustc --target=i686-pc-windows-gnu --crate-name std --crate-type rlib src/libstd/lib.rs -o q.rlib
works a bit, but for Redox I'm not sure what to do.r? @dtolnay