Skip to content

Commit

Permalink
Try CURRENT_RUSTC_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
blyxyas committed May 19, 2024
1 parent 0b1bf37 commit df20752
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 @@ -46,7 +46,7 @@ declare_clippy_lint! {
/// a.clone_from(&b);
/// }
/// ```
#[clippy::version = "1.78.0"]
#[clippy::version = "CURRENT_RUSTC_VERSION"]
pub ASSIGNING_CLONES,
pedantic,
"assigning the result of cloning may be inefficient"
Expand Down

0 comments on commit df20752

Please sign in to comment.