mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
0142e961ad
When either one of these two options are set to `true`, each should take precedence over the brace_style option. This commit does not introduce any formatting change to the default configuration, so no version gate is required.
8 lines
101 B
Rust
8 lines
101 B
Rust
// rustfmt-brace_style: AlwaysNextLine
|
|
// rustfmt-fn_single_line: true
|
|
|
|
fn lorem() -> i32
|
|
{
|
|
42
|
|
}
|