about summary refs log tree commit diff
path: root/tests/pretty/match-naked-expr.rs
blob: 9d79b7b18e65d3ab7a515f626b29fc5cac1075d9 (plain)
1
2
3
4
5
6
7
8
9
10
//@ pp-exact

fn main() {
    let x = Some(3);
    let _y =
        match x {
            Some(_) => "some(_)".to_string(),
            None => "none".to_string(),
        };
}