-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Fix incorrect eq_unspanned in TokenStream #141570
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
Conversation
is it actually important to those places? |
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
it's also trivial, removed it in new commit 09ecc7e. |
f0cb226
to
a6e3735
Compare
a6e3735
to
d3347bb
Compare
You can use https://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.eq_by instead |
feature |
Thanks! If we want to use the nightly stdlib feature that seeems fine, but this also seems better, so! @bors r+ rollup |
…, r=workingjubilee Fix incorrect eq_unspanned in TokenStream Fixes rust-lang#141522 r? `@workingjubilee` should we remove this function? since it's used in several places, i'd prefer to keep it.
Rollup of 6 pull requests Successful merges: - #141250 (add s390x z17 target features) - #141570 (Fix incorrect eq_unspanned in TokenStream) - #141893 (remove `f16: From<u16>`) - #141924 (Lightly tweak docs for BTree{Map,Set}::extract_if) - #141959 (Add more missing 2015 edition directives) - #141960 (Use non-2015 edition paths in tests that do not test for their resolution) r? `@ghost` `@rustbot` modify labels: rollup
@bors r- |
Fix incorrect eq_unspanned in TokenStream Fixes #141522 r? `@workingjubilee` should we remove this function? since it's used in several places, i'd prefer to keep it. try-job: i686-msvc-1
Checking to see if we somehow caused #141995 (comment) |
I guess it's okay! @bors r+ |
…, r=workingjubilee Fix incorrect eq_unspanned in TokenStream Fixes rust-lang#141522 r? `@workingjubilee` should we remove this function? since it's used in several places, i'd prefer to keep it.
Rollup of 9 pull requests Successful merges: - #141271 (Streamline some attr parsing APIs) - #141570 (Fix incorrect eq_unspanned in TokenStream) - #141857 (coretests: move float tests from num to floats module and use a more flexible macro to generate them) - #141893 (remove `f16: From<u16>`) - #141924 (Lightly tweak docs for BTree{Map,Set}::extract_if) - #141939 (exact_div: add tests) - #141959 (Add more missing 2015 edition directives) - #142002 (redesign stage 0 std follow-ups part2) - #142007 (Improve some `Visitor` comments.) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 7 pull requests Successful merges: - #141271 (Streamline some attr parsing APIs) - #141570 (Fix incorrect eq_unspanned in TokenStream) - #141893 (remove `f16: From<u16>`) - #141924 (Lightly tweak docs for BTree{Map,Set}::extract_if) - #141939 (exact_div: add tests) - #141959 (Add more missing 2015 edition directives) - #142007 (Improve some `Visitor` comments.) r? `@ghost` `@rustbot` modify labels: rollup
Fixes #141522
r? @workingjubilee
should we remove this function?
since it's used in several places, i'd prefer to keep it.