Skip to content

Commit df20752

Browse files
committed
Try CURRENT_RUSTC_VERSION
1 parent 0b1bf37 commit df20752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/assigning_clones.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ declare_clippy_lint! {
4646
/// a.clone_from(&b);
4747
/// }
4848
/// ```
49-
#[clippy::version = "1.78.0"]
49+
#[clippy::version = "CURRENT_RUSTC_VERSION"]
5050
pub ASSIGNING_CLONES,
5151
pedantic,
5252
"assigning the result of cloning may be inefficient"

0 commit comments

Comments
 (0)