Commit c8d5bf5
committed
Remove identical if blocks
Clippy emits:
error: this `if` has identical blocks
Move the second if clause into the first and use `||`.1 parent 0974d76 commit c8d5bf5
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
553 | 554 | | |
554 | 555 | | |
555 | | - | |
556 | | - | |
557 | 556 | | |
558 | 557 | | |
559 | 558 | | |
| |||
0 commit comments