Skip to content

Commit a5a033d

Browse files
authored
Update versions of 1.86 lints (#14540)
r? @y21 Completely forgot about the version update during CHANGELOG creation. I have to re-learn how to do all that. changelog: none
2 parents 7bb54d9 + a23e8d3 commit a5a033d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

clippy_lints/src/manual_option_as_slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ declare_clippy_lint! {
3434
/// _ = opt.as_slice();
3535
/// _ = opt.as_slice();
3636
/// ```
37-
#[clippy::version = "1.85.0"]
37+
#[clippy::version = "1.86.0"]
3838
pub MANUAL_OPTION_AS_SLICE,
3939
complexity,
4040
"manual `Option::as_slice`"

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4283,7 +4283,7 @@ declare_clippy_lint! {
42834283
/// ```no_run
42844284
/// let last_arg = "echo hello world".split(' ').next_back();
42854285
/// ```
4286-
#[clippy::version = "1.85.0"]
4286+
#[clippy::version = "1.86.0"]
42874287
pub DOUBLE_ENDED_ITERATOR_LAST,
42884288
perf,
42894289
"using `Iterator::last` on a `DoubleEndedIterator`"

clippy_lints/src/non_std_lazy_statics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ declare_clippy_lint! {
3737
/// static FOO: std::sync::LazyLock<String> = std::sync::LazyLock::new(|| "FOO".to_lowercase());
3838
/// static BAR: std::sync::LazyLock<String> = std::sync::LazyLock::new(|| "BAR".to_lowercase());
3939
/// ```
40-
#[clippy::version = "1.81.0"]
40+
#[clippy::version = "1.86.0"]
4141
pub NON_STD_LAZY_STATICS,
4242
pedantic,
4343
"lazy static that could be replaced by `std::sync::LazyLock`"

0 commit comments

Comments
 (0)