-
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
Simplify use_self impl #7411
Simplify use_self impl #7411
Conversation
r? @phansch (rust-highfive has picked a reviewer for you, use r? to override) |
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.
Is type_of
a new query or did I just totally miss that when I implemented this? 🤔
Changes LGTM overall, so small things I noticed.
Simplify use_self impl changelog: none Mainly to remove an extra visit and simplify the "in body?" logic.
☀️ Try build successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
0e2119c
to
bae76f9
Compare
Comments are addressed!
I think it's not new? I randomly discovered one time that it can be used on impl blocks - certainly not very obvious. |
@bors r+ Thanks! (Also passed my lintcheck run locally) |
📌 Commit bae76f9 has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
changelog: none
Mainly to remove an extra visit and simplify the "in body?" logic.