-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Do not suggest assigning_clones
in Clone
impl
#12615
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
Conversation
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.
LGTM, thanks! ❤️
Took me a bit to understand. Could you format? (because CI and all that)
1fcd467
to
571118f
Compare
Done :) |
@bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
1 similar comment
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
👀 Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request. |
This PR modifies
assigning_clones
to detect situations where theclone
call is inside aClone
impl, and avoids suggesting the lint in such situations.r? @blyxyas
Fixes: #12600
changelog: Do not invoke
assigning_clones
insideClone
impl