The `matches!` macro in #rustlang gives you full pattern matching capabilities without having to write a single case match statement! You can even provide an optional guard condition!
3 likes 0 replies
?
The `matches!` macro in #rustlang gives you full pattern matching capabilities without having to write a single case match statement! You can even provide an optional guard condition!
3 likes 0 replies