Skip to content
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

fix needless_question_mark not considering async fn #8311

Merged
merged 1 commit into from
Jan 23, 2022

Conversation

dswij
Copy link
Member

@dswij dswij commented Jan 19, 2022

closes #8277

changelog: [needless_question_mark] Fix FN on async functions

@rust-highfive
Copy link

r? @llogiq

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Jan 19, 2022
Comment on lines 130 to 133
let _ = Some(3);
let _ = Some(3);
let _ = Some(3);
let _ = Some(3);
Copy link
Contributor

Choose a reason for hiding this comment

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

Are these needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really

@dswij dswij force-pushed the 8277 branch 2 times, most recently from caa3dd8 to c233aea Compare January 23, 2022 12:16
@llogiq
Copy link
Contributor

llogiq commented Jan 23, 2022

Thank you!

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 23, 2022

📌 Commit a052766 has been approved by llogiq

@bors
Copy link
Collaborator

bors commented Jan 23, 2022

⌛ Testing commit a052766 with merge d976d8a...

@bors
Copy link
Collaborator

bors commented Jan 23, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing d976d8a to master...

@bors bors merged commit d976d8a into rust-lang:master Jan 23, 2022
@dswij dswij deleted the 8277 branch January 23, 2022 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

needless_question_mark lint not applied to async fn
5 participants