Skip to content

Commit 2662813

Browse files
committed
unused_result_ok: Switch from style to restriction
1 parent db1647b commit 2662813

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
@@ -28,7 +28,7 @@ declare_clippy_lint! {
2828
/// ```
2929
#[clippy::version = "1.70.0"]
3030
pub UNUSED_RESULT_OK,
31-
style,
31+
restriction,
3232
"Use of `.ok()` to silence `Result`'s `#[must_use]` is misleading. Use `let _ =` instead."
3333
}
3434
declare_lint_pass!(UnusedResultOk => [UNUSED_RESULT_OK]);

0 commit comments

Comments
 (0)