mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
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:
commit
a7f326574c
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue