All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
Matching over a boolean expression is less readable than using an if-else block.
if-else
Replace the match block with an if-else block.
match
match condition { true => foo(), false => bar(), }
if condition { foo() } else { bar() }