Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fn main() {
    match 92 {
        0 ... 100 => (),
        101 ..= 200 => (),
        200 .. 301 => (),
        302 .. => (),
    }

    match Some(10 as u8) {
        Some(0) | None => (),
        Some(1..) => ()
    }

    match (10 as u8, 5 as u8) {
        (0, _) => (),
        (1.., _) => ()
    }
}