easy_switch 0.2.0

A macro for traditional C-style switch statements
Documentation
1
2
3
4
use easy_switch::switch;
fn main() {
    if number == 1 { () } else if number == 2 { () }
}