mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
17 lines
368 B
Rust
17 lines
368 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),
|
|
}
|
|
}
|