]> git.lizzy.rs Git - rust.git/commit
Fix needless_match false positive for if-let
authorJeong YunWon <jeong@youknowone.org>
Fri, 15 Apr 2022 10:33:24 +0000 (19:33 +0900)
committerJeong YunWon <jeong@youknowone.org>
Mon, 18 Apr 2022 05:33:13 +0000 (14:33 +0900)
commitb94e24e95feaab72c622da3af48eff60ef85ec25
treed32743302ad88ffccb8a52eb86cbb4774c57e4ba
parente5ebece910f8bfcc2361bddd847a7ae623debd57
Fix needless_match false positive for if-let

when the else block doesn't match to given expr
clippy_lints/src/matches/needless_match.rs
tests/ui/needless_match.fixed
tests/ui/needless_match.rs
tests/ui/needless_match.stderr