-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Implement nth, last, and count for iter::Copied #69625
Conversation
r? @KodrAus (rust_highfive has picked a reviewer for you, use r? to override) |
(please wait on CI before reviewing) |
fe641b8
to
ea5fc97
Compare
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
We currently have a moratorium on new uses of specialization: https://forge.rust-lang.org/libs/maintaining-std.html#is-specialization-involved. |
Got it. I'll drop this down to just specializing |
ea5fc97
to
bf5e40d
Compare
bf5e40d
to
85cbabb
Compare
CI is passing and this should be ready for review. |
r? @scottmcm |
@bors r+ rollup |
📌 Commit 85cbabb has been approved by |
Rollup of 10 pull requests Successful merges: - #66059 (mem::zeroed/uninit: panic on types that do not permit zero-initialization) - #69373 (Stabilize const for integer {to,from}_{be,le,ne}_bytes methods) - #69591 (Use TypeRelating for instantiating query responses) - #69625 (Implement nth, last, and count for iter::Copied) - #69645 (const forget tests) - #69766 (Make Point `Copy` in arithmetic documentation) - #69825 (make `mem::discriminant` const) - #69859 (fix #62456) - #69891 (Exhaustiveness checking, `Matrix::push`: recursively expand or-patterns) - #69896 (parse: Tweak the function parameter edition check) Failed merges: r? @ghost
Implement nth, last and count for iter::Copied.