Skip to content

fix a couple of clippy findings - #75270

Merged
bors merged 17 commits into
rust-lang:masterfrom
matthiaskrgr:clippy_aug_1
Aug 8, 2020
Merged

fix a couple of clippy findings#75270
bors merged 17 commits into
rust-lang:masterfrom
matthiaskrgr:clippy_aug_1

Conversation

@matthiaskrgr

Copy link
Copy Markdown
Member

No description provided.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @ecstatic-morse

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 7, 2020
@matthiaskrgr

Copy link
Copy Markdown
MemberAuthor

r? @Dylan-DPC

.filter(|t| t.span.desugaring_kind().is_none())
.next()
.is_some()
&& v.0.into_iter().find(|t| t.span.desugaring_kind().is_none()).is_some()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
&& v.0.into_iter().find(|t| t.span.desugaring_kind().is_none()).is_some()
&& v.0.into_iter().any(|t| t.span.desugaring_kind().is_none())

@Dylan-DPC-zz

Copy link
Copy Markdown

@bors r+ rollup

@bors

bors commented Aug 8, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit a605e51 has been approved by Dylan-DPC

@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 Aug 8, 2020
@JohnTitorJohnTitor mentioned this pull request Aug 8, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 8, 2020
Rollup of 7 pull requests
Successful merges:
- rust-lang#75224 (Don't call a function in function-arguments-naked.rs)
- rust-lang#75237 (Display elided lifetime for non-reference type in doc)
- rust-lang#75250 (make MaybeUninit::as_(mut_)ptr const)
- rust-lang#75253 (clean up const-hacks in int endianess conversion functions)
- rust-lang#75259 (Add missing backtick)
- rust-lang#75267 (Small cleanup)
- rust-lang#75270 (fix a couple of clippy findings)
Failed merges:
r? @ghost
@bors
bors merged commit 21bfe52 into rust-lang:masterAug 8, 2020
@cuvipercuviper added this to the 1.47.0 milestone May 2, 2024
@matthiaskrgr
matthiaskrgr deleted the clippy_aug_1 branch January 25, 2025 09:12
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.

7 participants

@matthiaskrgr@rust-highfive@Dylan-DPC-zz@bors@jyn514@cuviper@ecstatic-morse