-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
r? @llogiq (rust-highfive has picked a reviewer for you, use r? to override) |
tests/ui/needless_question_mark.rs
Outdated
let _ = Some(3); | ||
let _ = Some(3); | ||
let _ = Some(3); | ||
let _ = Some(3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really
caa3dd8
to
c233aea
Compare
Thank you! @bors r+ |
📌 Commit a052766 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
closes #8277
changelog: [
needless_question_mark
] Fix FN on async functions