17b2418208
Extend `map_clone` lint to also work on non-explicit closures I found it weird that this case was not handled by the current line so I added it. The only thing is that I don't see an obvious way to infer the current type to determine if it's copyable or not, so for now I always suggest `cloned` and I added a FIXME. r? `@llogiq` changelog: Extend `map_clone` lint to also work on non-explicit closures |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |