rust/tests/target/issue-2835.rs
topecongiro 0142e961ad Prioritize single_line_fn and empty_item_single_line over brace_style
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.
2019-02-01 00:22:47 +09:00

5 lines
97 B
Rust

// rustfmt-brace_style: AlwaysNextLine
// rustfmt-fn_single_line: true
fn lorem() -> i32 { 42 }