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

16 lines
310 B
Rust
Raw Normal View History

2017-01-26 20:11:59 +01:00
// rustfmt-format_strings: true
// rustfmt-max_width: 80
// rustfmt-control_brace_style: AlwaysNextLine
fn main() {
match x
{
2017-06-13 04:49:47 +02:00
aaaaaaaa::Bbbbb::Ccccccccccccc(_, Some(ref x))
2017-07-19 17:01:38 +02:00
if x == "aaaaaaaaaaa aaaaaaa aaaaaa" =>
{
Ok(())
}
_ => Err(x),
}
}