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

16 lines
385 B
Rust
Raw Normal View History

// 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),
}
}