mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 12:36:35 +03: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:
@@ -48,7 +48,7 @@
|
||||
/// ```
|
||||
#[clippy::version = "1.78.0"]
|
||||
pub ASSIGNING_CLONES,
|
||||
perf,
|
||||
pedantic,
|
||||
"assigning the result of cloning may be inefficient"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user