diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-04-03 22:20:33 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2025-04-03 22:20:33 +0200 |
| commit | a23e8d353745c31fca4a9ff4f8642e2edc707125 (patch) | |
| tree | c0d8075392da15e6df4015468571d9526aab691b | |
| parent | a2251a8f1a8f94cd7aa460a25078d3d4d8503a90 (diff) | |
| download | rust-a23e8d353745c31fca4a9ff4f8642e2edc707125.tar.gz rust-a23e8d353745c31fca4a9ff4f8642e2edc707125.zip | |
Update versions of 1.86 lints
| -rw-r--r-- | clippy_lints/src/manual_option_as_slice.rs | 2 | ||||
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 2 | ||||
| -rw-r--r-- | clippy_lints/src/non_std_lazy_statics.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/clippy_lints/src/manual_option_as_slice.rs b/clippy_lints/src/manual_option_as_slice.rs index 8dee29b2a0b..e4ad3953b67 100644 --- a/clippy_lints/src/manual_option_as_slice.rs +++ b/clippy_lints/src/manual_option_as_slice.rs @@ -34,7 +34,7 @@ declare_clippy_lint! { /// _ = 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`" diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index eeeda4f0ea8..7e2ce157c73 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -4283,7 +4283,7 @@ declare_clippy_lint! { /// ```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`" diff --git a/clippy_lints/src/non_std_lazy_statics.rs b/clippy_lints/src/non_std_lazy_statics.rs index 1df40a674bc..f6bc9428d65 100644 --- a/clippy_lints/src/non_std_lazy_statics.rs +++ b/clippy_lints/src/non_std_lazy_statics.rs @@ -37,7 +37,7 @@ declare_clippy_lint! { /// 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`" |
