-
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
Add lint for &mut Mutex::lock
#6103
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @flip1995 (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
a42bd7a
to
4bbc3d6
Compare
☔ The latest upstream changes (presumably #6098) made this pull request unmergeable. Please resolve the merge conflicts. Note that reviewers usually do not review pull requests until merge conflicts are resolved! Once you resolve the conflicts, you should change the labels applied by bors to indicate that your PR is ready for review. Post this as a comment to change the labels:
|
868d40b
to
a062905
Compare
@rustbot modify labels: +S-waiting-on-review -S-waiting-on-author |
62c1623
to
18bc948
Compare
b5b9b35
to
678ac08
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.
Thanks! There's an unrelated change left. After that is fixed, ping me and I'll r+ this PR.
678ac08
to
6a010ab
Compare
@bors r+ Thanks! |
📌 Commit 6a010ab has been approved by |
6a010ab
to
e7e03b7
Compare
Dropped the empty commit |
@bors r+ Thanks for addressing everything so quickly even though I'm so slow with my reviews... |
📌 Commit e7e03b7 has been approved by |
No worries. Nonetheless, thanks for reviewing my PR. 👍 |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Fixes #1765
changelog: Add lint [
mut_mutex_lock
] for&mut Mutex::lock
and suggests using&mut Mutex::get_mut
instead.