Add suggestion to if_let_some_result
lint
#4991
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
L-suggestion
Lint: Improving, adding or fixing lint suggestions
It'd be nice for
if_let_some_result
to have suggestions. I think implementation should be easy.https://rust-lang.github.io/rust-clippy/master/index.html#if_let_some_result
Example:
suggests like this:
The text was updated successfully, but these errors were encountered: