Skip to content
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 warn on clippy::needless_pass_by_value #603

Open
tcoratger opened this issue Jun 17, 2024 · 1 comment
Open

Add warn on clippy::needless_pass_by_value #603

tcoratger opened this issue Jun 17, 2024 · 1 comment
Assignees

Comments

@tcoratger
Copy link
Collaborator

As a followup of #598 we should add a warn on this clippy lint

https://rust-lang.github.io/rust-clippy/master/#/needless_pass_by_value?groups=nursery,pedantic

Taking arguments by reference is more flexible and can sometimes avoid unnecessary allocations.

@manoahLinks
Copy link

can i hop on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants