]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-913.rs
Tidy up and pass tests
[rust.git] / tests / target / 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(
14                     ref mut response,
15                 ))) => {
16                     // The pattern cannot be formatted in a way that the match stays
17                     // within the column limit. The rewrite should therefore be
18                     // skipped.
19                     let x = dont.reformat.meeee();
20                 }
21             };
22         }
23     }
24 }