mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
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
|
|
}
|