-
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
Implement TrustedLen and TrustedRandomAccess for Range<integer>, array::IntoIter, VecDequeue's iterators #81607
Implement TrustedLen and TrustedRandomAccess for Range<integer>, array::IntoIter, VecDequeue's iterators #81607
Conversation
Error: Label libs-impl can only be set by Rust team members Please let |
(rust-highfive has picked a reviewer for you, use r? to override) |
Ah I also had some of those locally already but wanted to finish the remaining ones first :) |
0897250
to
e8908a0
Compare
That's in #81617 now. On top of your PR here you could do the same for |
e8908a0
to
f0313ee
Compare
That doesn't seem to be practically feasible for I think implementing more LLVM-friendly iteration for sources with That or llvm needs to be fixed in several ways. Then we could do away with most of this mess. |
r? @m-ou-se (possibly for further reassignment), I don't have a lot of knowledge about iterators right now and probably not the time to do a deep dive |
Thanks! @bors r+ |
📌 Commit f0313ee03f750adde3897c26ab208228da8ddc02 has been approved by |
⌛ Testing commit f0313ee03f750adde3897c26ab208228da8ddc02 with merge e4bce39493aa9786c563d386e1bbde6e26c2580e... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
f0313ee
to
54c73a3
Compare
54c73a3
to
08a1dd2
Compare
@bors r+ |
📌 Commit 08a1dd2 has been approved by |
…-things, r=m-ou-se Implement TrustedLen and TrustedRandomAccess for Range<integer>, array::IntoIter, VecDequeue's iterators This should make some `FromIterator` and `.zip()` specializations applicable in a few more cases. `@rustbot` label libs-impl
Rollup of 9 pull requests Successful merges: - rust-lang#80193 (stabilize `feature(osstring_ascii)`) - rust-lang#80771 (Make NonNull::as_ref (and friends) return refs with unbound lifetimes) - rust-lang#81607 (Implement TrustedLen and TrustedRandomAccess for Range<integer>, array::IntoIter, VecDequeue's iterators) - rust-lang#82554 (Fix invalid slice access in String::retain) - rust-lang#82686 (Move `std::sys::unix::platform` to `std::sys::unix::ext`) - rust-lang#82771 (slice: Stabilize IterMut::as_slice.) - rust-lang#83329 (Cleanup LLVM debuginfo module docs) - rust-lang#83336 (Fix ICE with `use clippy::a::b;`) - rust-lang#83350 (Download a more recent LLVM version if `src/version` is modified) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This should make some
FromIterator
and.zip()
specializations applicable in a few more cases.@rustbot label libs-impl