Skip to content

Commit 0596a04

Browse files
committed
unused_result_ok: added in Clippy 1.82.0, not 1.70.0
1 parent 753629b commit 0596a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/unused_result_ok.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ declare_clippy_lint! {
2626
/// # fn some_function() -> Result<(), ()> { Ok(()) }
2727
/// let _ = some_function();
2828
/// ```
29-
#[clippy::version = "1.70.0"]
29+
#[clippy::version = "1.82.0"]
3030
pub UNUSED_RESULT_OK,
3131
restriction,
3232
"Use of `.ok()` to silence `Result`'s `#[must_use]` is misleading. Use `let _ =` instead."

0 commit comments

Comments
 (0)