1
Fork 0

Fix false-positive of redundant_clone and move to clippy::perf

This commit is contained in:
Shotaro Yamada 2019-09-17 00:50:15 +09:00
parent 737f0a6bb5
commit 301ef6bb2a
5 changed files with 412 additions and 75 deletions

View file

@ -1542,7 +1542,7 @@ pub const ALL_LINTS: [Lint; 318] = [
},
Lint {
name: "redundant_clone",
group: "nursery",
group: "perf",
desc: "`clone()` of an owned value that is going to be dropped immediately",
deprecation: None,
module: "redundant_clone",