Skip to content

Add warn on clippy::needless_pass_by_value #603

@tcoratger

Description

@tcoratger

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions