Auto merge of #13506 - samueltardieu:push-zyqvkwlswvkk, r=xFrednet

unused_result_ok: added in Clippy 1.82.0, not 1.70.0

changelog: none

Fix #13497
This commit is contained in:
bors 2024-10-06 11:33:31 +00:00
commit f7aaecf3f5

View file

@ -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."