rust/tests/target/long-match-arms-brace-newline.rs
Nick Cameron 18ccd0190e Rebasing
2017-06-13 14:49:47 +12:00

13 lines
279 B
Rust

// 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 aaaaaaa aaaaaa" => Ok(()),
_ => Err(x),
}
}