Auto merge of #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 #12778 for more motivation.

fixes #12778

changelog: [`assigning_clones`]: move to the `pedantic` group
This commit is contained in:
bors 2024-05-15 14:50:29 +00:00
commit a7f326574c

View file

@ -48,7 +48,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "1.78.0"]
pub ASSIGNING_CLONES,
perf,
pedantic,
"assigning the result of cloning may be inefficient"
}