rust-clippy/clippy_lints/src/methods
bors 5e8c0c5ae0 Auto merge of #5441 - rabisg0:fix/clone-on-copy, r=phansch
Check for clone-on-copy in argument positions

Earlier if arguments to method calls matched the above pattern they were
not reported. This patch ensures such arguments are checked as well.

Fixes #5436

changelog: apply clone_on_copy lint to func args as well
2020-04-10 21:49:26 +00:00
..
inefficient_to_string.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
manual_saturating_arithmetic.rs Rustup to rust-lang/rust#69592 2020-03-01 12:23:33 +09:00
mod.rs Auto merge of #5441 - rabisg0:fix/clone-on-copy, r=phansch 2020-04-10 21:49:26 +00:00
option_map_unwrap_or.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00
unnecessary_filter_map.rs rustup https://github.com/rust-lang/rust/pull/70536 2020-03-30 11:17:58 +02:00