Clippy needless_pass_by_value
false positive
#283
Labels
A-Linter
Related to the linter and custom lints
C-Feature
Make something new possible
D-Straightforward
Simple bug fixes and API improvements, docs, test and examples
X-Contentious
There are nontrivial implications that should be thought through
The
getting-started
example from bevy looks like thisresulting in the following false positive of the
pedantic
needless-pass-by-value
clippy lint.If you follow the advice you get the following
While this is only a
pedantic
lint I still think it's a great one and I have already seen multiple posts aboutbevy
and this lint as shown here: rust-lang/rust-clippy#8940The text was updated successfully, but these errors were encountered: