Skip to content

Commit c4175ec

Browse files
committed
Use match instead of sequence of if lets
This is much more readable and idiomatic, and also may help performance since `match`es usually use switches while `if`s may not. I also fixed an incorrect comment.
1 parent 939653f commit c4175ec

File tree

1 file changed

+243
-234
lines changed

1 file changed

+243
-234
lines changed

0 commit comments

Comments
 (0)