rust/tests/target/long-match-arms-brace-newline.rs
2017-07-10 16:52:55 +09:00

14 lines
317 B
Rust

// rustfmt-format_strings: true
// 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),
}
}