2 Checks for unnecessary `match` or match-like `if let` returns for `Option` and `Result`
3 when function signatures are the same.
6 This `match` block does nothing and might not be what the coder intended.
10 fn foo() -> Result<(), i32> {
17 fn bar() -> Option<i32> {
18 if let Some(val) = option {
29 fn foo() -> Result<(), i32> {
33 fn bar() -> Option<i32> {