Skip to content

Commit a7f3265

Browse files
committed
Auto merge of rust-lang#12779 - de-vri-es:move-assigng-clones-to-pedantic, r=y21
`assigning_clones`: move to `pedantic` so it is allow by default In a nutshell, the `assigning_clones` lint suggests to make your code less readable for a small performance gain. See rust-lang#12778 for more motivation. fixes rust-lang#12778 changelog: [`assigning_clones`]: move to the `pedantic` group
2 parents c58b6e6 + 076f2e5 commit a7f3265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/assigning_clones.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ declare_clippy_lint! {
4848
/// ```
4949
#[clippy::version = "1.78.0"]
5050
pub ASSIGNING_CLONES,
51-
perf,
51+
pedantic,
5252
"assigning the result of cloning may be inefficient"
5353
}
5454

0 commit comments

Comments
 (0)