]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-2554.rs
Rollup merge of #85271 - th1000s:master, r=JohnTitor
[rust.git] / src / tools / rustfmt / tests / target / issue-2554.rs
1 // #2554
2 // Do not add the beginning vert to the first match arm's pattern.
3
4 fn main() {
5     match foo(|_| {
6         bar(|_| {
7             //
8         })
9     }) {
10         Ok(()) => (),
11         Err(_) => (),
12     }
13 }