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

14 lines
386 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
{
aaaaaaaa::Bbbbb::Ccccccccccccc(_, Some(ref x)) if x ==
"aaaaaaaaaaa \
2017-02-22 20:52:52 +01:00
aaaaaaa aaaaaa" => Ok(()),
_ => Err(x),
}
}