Uh oh!
There was an error while loading. Please reload this page.
Implement O(1)-time Iterator::nth for Range*, and slim the Step trait - #43077
Conversation
rust-highfive
commented
Jul 5, 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. |
kennytm
commented
Jul 6, 2017
A test case needs to be updated. [00:40:46] ---- [compile-fail] compile-fail/range-1.rs stdout ----
[00:40:46][00:40:46] error: /checkout/src/test/compile-fail/range-1.rs:19: expected error not found: `for<'a> &'abool: std::ops::Add` is not satisfied |
SimonSapin
commented
Jul 6, 2017
Test updated, thanks for pointing this out. |
kennytm
commented
Jul 6, 2017
Need to update Error report |
SimonSapin
commented
Jul 6, 2017
Removed the i128/u128 changes as I suspect they were buggy. I’ll look into that separately in another PR. |
alexcrichton
commented
Jul 6, 2017
Thanks! Could you be sure to add some tests for the |
SimonSapin
commented
Jul 6, 2017
Done, in a new commit. |
alexcrichton
commented
Jul 7, 2017
bors
commented
Jul 7, 2017
📌 Commit 4e28949 has been approved by |
bors
commented
Jul 8, 2017
🔒 Merge conflict |
eddyb
commented
Jul 8, 2017
@bors r=alexcrichton |
bors
commented
Jul 8, 2017
📌 Commit e9a61ee has been approved by |
bors
commented
Jul 8, 2017
bors
commented
Jul 8, 2017
☀️ Test successful - status-appveyor, status-travis |
Fixes#43064.
Fixes part of #39975.
Fixes items 1
and 3of #42168.CC #27741.
I think #42310 and #43012 should not have landed without the
nthpart of this PR, but oh well.