-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Make it clearer that the suggestion is an alternative one #13390
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
`needless_pass_by_value` sometimes suggest marking the concerned type as `Copy`. Adding a `or` before this suggestion makes it clearer that this is not the second part of the original suggestion, but an alternative one.
LGTM, thank you for the improvement :D Roses are red, |
Make it clearer that the suggestion is an alternative one `needless_pass_by_value` sometimes suggest marking the concerned type as `Copy`. Adding a `or` before this suggestion makes it clearer that this is not the second part of the original suggestion, but an alternative one. Inspired by a misunderstanding in #13321
💔 Test failed - checks-action_test |
@xFrednet Forgot the changelog: none, now added. |
@bors retry |
Happens to the best of us :D |
💡 This pull request was already approved, no need to approve it again. |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
needless_pass_by_value
sometimes suggest marking the concerned type asCopy
. Adding aor
before this suggestion makes it clearer that this is not the second part of the original suggestion, but an alternative one.Inspired by a misunderstanding in #13321
changelog: none