From 0596a04bf47a0e3e942586f78a18d1c96ee7c52e Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Sat, 5 Oct 2024 23:49:12 +0200 Subject: [PATCH] unused_result_ok: added in Clippy 1.82.0, not 1.70.0 --- clippy_lints/src/unused_result_ok.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/unused_result_ok.rs b/clippy_lints/src/unused_result_ok.rs index 297288db0..0c0d10eac 100644 --- a/clippy_lints/src/unused_result_ok.rs +++ b/clippy_lints/src/unused_result_ok.rs @@ -26,7 +26,7 @@ declare_clippy_lint! { /// # fn some_function() -> Result<(), ()> { Ok(()) } /// let _ = some_function(); /// ``` - #[clippy::version = "1.70.0"] + #[clippy::version = "1.82.0"] pub UNUSED_RESULT_OK, restriction, "Use of `.ok()` to silence `Result`'s `#[must_use]` is misleading. Use `let _ =` instead."