Skip to content

Commit

Permalink
Auto merge of #12779 - de-vri-es:move-assigng-clones-to-pedantic, r=y21
Browse files Browse the repository at this point in the history
`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
  • Loading branch information
bors committed May 15, 2024
2 parents c58b6e6 + 076f2e5 commit a7f3265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/assigning_clones.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit a7f3265

Please sign in to comment.