-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unused io amount detects .read().ok()?
#7100
Conversation
r? @camsteffen (rust-highfive has picked a reviewer for you, use r? to override) |
55f4564
to
a149488
Compare
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.
Much better! Please squash your commits.
56bb890
to
3544966
Compare
Please don't reference the squashed commits in the commit message. I believe those commits can become garbage collected (unavailable) in the future, and there is no need to record the PR review history. Though we would keep commits separate if there are multiple, distinct changes in the PR. |
3544966
to
5625d58
Compare
@bors r+ thanks! |
📌 Commit 5625d58 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
fixes #7096
changelog: unused_io_amount now detect expertion like
.read().ok()?
,.read().or_else(|err| ...)?
and similar expressions.