mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
unused_result_ok: added in Clippy 1.82.0, not 1.70.0
This commit is contained in:
parent
753629bb33
commit
0596a04bf4
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue