]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-1350.rs
:arrow_up: rust-analyzer
[rust.git] / src / tools / rustfmt / tests / target / issue-1350.rs
1 // rustfmt-max_width: 120
2 // rustfmt-comment_width: 110
3
4 impl Struct {
5     fn fun() {
6         let result = match <R::RequestResult as serde::Deserialize>::deserialize(&json) {
7             Ok(v) => v,
8             Err(e) => match <R::ErrorResult as serde::Deserialize>::deserialize(&json) {
9                 Ok(v) => return Err(Error::with_json(v)),
10                 Err(e2) => return Err(Error::with_json(e)),
11             },
12         };
13     }
14 }