Skip to content

Eliminate intersect_opt. - #65648

Merged
bors merged 1 commit into
rust-lang:masterfrom
nnethercote:rm-intersect_opt
Oct 24, 2019
Merged

Eliminate intersect_opt.#65648
bors merged 1 commit into
rust-lang:masterfrom
nnethercote:rm-intersect_opt

Conversation

@nnethercote

Copy link
Copy Markdown
Contributor

Its fourth argument is always Some(pred), so the pattern matching is
unnecessary. This commit inlines and removes it.

r? @nikomatsakis

Its fourth argument is always `Some(pred)`, so the pattern matching is
unnecessary. This commit inlines and removes it.
@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 21, 2019
@nikomatsakis

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Oct 22, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit ddc1c27 has been approved by nikomatsakis

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 22, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 23, 2019
…omatsakis
Eliminate `intersect_opt`.
Its fourth argument is always `Some(pred)`, so the pattern matching is
unnecessary. This commit inlines and removes it.
r? @nikomatsakis
@CentrilCentril mentioned this pull request Oct 23, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 23, 2019
…omatsakis
Eliminate `intersect_opt`.
Its fourth argument is always `Some(pred)`, so the pattern matching is
unnecessary. This commit inlines and removes it.
r? @nikomatsakis
@CentrilCentril mentioned this pull request Oct 23, 2019
bors added a commit that referenced this pull request Oct 24, 2019
Rollup of 12 pull requests
Successful merges:
- #64178 (More Clippy fixes for alloc, core and std)
- #65144 (Add Cow::is_borrowed and Cow::is_owned)
- #65193 (Lockless LintStore)
- #65479 (Add the `matches!( $expr, $pat ) -> bool` macro)
- #65518 (Avoid ICE when checking `Destination` of `break` inside a closure)
- #65583 (rustc_metadata: use a table for super_predicates, fn_sig, impl_trait_ref.)
- #65641 (Derive `Rustc{En,De}codable` for `TokenStream`.)
- #65648 (Eliminate `intersect_opt`.)
- #65657 (Remove `InternedString`)
- #65691 (Update E0659 error code long explanation to 2018 edition)
- #65696 (Fix an issue with const inference variables sticking around under Chalk + NLL)
- #65704 (relax ExactSizeIterator bound on write_bytes)
Failed merges:
r? @ghost
@bors
bors merged commit ddc1c27 into rust-lang:masterOct 24, 2019
@nnethercote
nnethercote deleted the rm-intersect_opt branch October 24, 2019 20:27
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@nnethercote@nikomatsakis@bors@rust-highfive