unnecessarily explicit copy lint #3116
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
We should add a lint mode that detects unnecessary uses of the word
copy
and warns about them. In my code, at least, I'd prefer to have copy written only where it needs to be---so that I can use it as a guide to where expensive copies are occurring.The text was updated successfully, but these errors were encountered: