]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/match-naked-expr.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / pretty / match-naked-expr.rs
1 // pp-exact
2
3 fn main() {
4     let x = Some(3);
5     let _y =
6         match x {
7             Some(_) => "some(_)".to_string(),
8             None => "none".to_string(),
9         };
10 }