rust/tests/source/long-match-arms-brace-newline.rs

17 lines
368 B
Rust
Raw Normal View History

2017-01-26 13:11:59 -06:00
// rustfmt-format_strings: true
2017-07-10 02:52:55 -05:00
// rustfmt-force_format_strings: true
// rustfmt-max_width: 80
// rustfmt-control_brace_style: AlwaysNextLine
fn main() {
match x {
aaaaaaaa::Bbbbb::Ccccccccccccc(_, Some(ref x)) if x ==
"aaaaaaaaaaa \
aaaaaaa \
aaaaaa" => {
Ok(())
}
_ => Err(x),
}
}