easy_switch 0.2.0

A macro for traditional C-style switch statements
Documentation
1
2
3
4
5
6
7
use easy_switch::switch;

fn main() {
    switch! { number;
        1 => (),
    }
}