]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/match-naked-expr-medium.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[rust.git] / src / test / pretty / match-naked-expr-medium.rs
1 // pp-exact
2
3 fn main() {
4     let x = Some(3);
5     let _y =
6         match x {
7             Some(_) =>
8                 ["some(_)".to_string(), "not".to_string(), "SO".to_string(),
9                         "long".to_string(), "string".to_string()],
10             None =>
11                 ["none".to_string(), "a".to_string(), "a".to_string(),
12                         "a".to_string(), "a".to_string()],
13         };
14 }