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
This commit is contained in:
Timo
2025-04-03 20:49:26 +00:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
/// _ = opt.as_slice();
/// _ = opt.as_slice();
/// ```
#[clippy::version = "1.85.0"]
#[clippy::version = "1.86.0"]
pub MANUAL_OPTION_AS_SLICE,
complexity,
"manual `Option::as_slice`"
+1 -1
View File
@@ -4283,7 +4283,7 @@
/// ```no_run
/// let last_arg = "echo hello world".split(' ').next_back();
/// ```
#[clippy::version = "1.85.0"]
#[clippy::version = "1.86.0"]
pub DOUBLE_ENDED_ITERATOR_LAST,
perf,
"using `Iterator::last` on a `DoubleEndedIterator`"
+1 -1
View File
@@ -37,7 +37,7 @@
/// static FOO: std::sync::LazyLock<String> = std::sync::LazyLock::new(|| "FOO".to_lowercase());
/// static BAR: std::sync::LazyLock<String> = std::sync::LazyLock::new(|| "BAR".to_lowercase());
/// ```
#[clippy::version = "1.81.0"]
#[clippy::version = "1.86.0"]
pub NON_STD_LAZY_STATICS,
pedantic,
"lazy static that could be replaced by `std::sync::LazyLock`"