Skip to content

Commit

Permalink
unused_result_ok: added in Clippy 1.82.0, not 1.70.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Oct 5, 2024
1 parent 753629b commit 0596a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/unused_result_ok.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 0596a04

Please sign in to comment.