Skip to content

Commit 29b5395

Browse files
committed
Update version attribute for 1.81 lints
1 parent 1f8f982 commit 29b5395

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/pathbuf_init_then_push.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare_clippy_lint! {
3737
/// // or
3838
/// let path_buf = PathBuf::new().join("foo");
3939
/// ```
40-
#[clippy::version = "1.81.0"]
40+
#[clippy::version = "1.82.0"]
4141
pub PATHBUF_INIT_THEN_PUSH,
4242
restriction,
4343
"`push` immediately after `PathBuf` creation"

clippy_lints/src/unnecessary_struct_initialization.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ declare_clippy_lint! {
3838
/// moved out of, see [#10547](https://github.com/rust-lang/rust-clippy/issues/10547).
3939
///
4040
/// Empty structs are ignored by the lint.
41-
#[clippy::version = "1.70.0"]
41+
#[clippy::version = "1.82.0"]
4242
pub UNNECESSARY_STRUCT_INITIALIZATION,
4343
nursery,
4444
"struct built from a base that can be written mode concisely"

0 commit comments

Comments
 (0)