mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 21:34:18 +00:00
![]() 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 | ||
README.md |