]> git.lizzy.rs Git - rust.git/blob - tests/source/issue-913.rs
Tidy up and pass tests
[rust.git] / tests / source / issue-913.rs
1 // rustfmt-error_on_line_overflow: false
2
3 mod client {
4     impl Client {
5         fn test(self) -> Result<()> {
6             let next_state = match self.state {
7                 State::V5(v5::State::Command(v5::coand::State::WriteVersion(ref mut response))) => {
8                          let x   =   reformat . meeee()  ; 
9                 }
10             };
11
12             let next_state = match self.state {
13                 State::V5(v5::State::Command(v5::comand::State::WriteVersion(ref mut response))) => {
14                     // The pattern cannot be formatted in a way that the match stays
15                     // within the column limit. The rewrite should therefore be
16                     // skipped.
17                     let x =  dont . reformat . meeee();
18                 }
19             };
20         }
21     }
22 }