rust/tests/source/configs/brace_style/fn_always_next_line.rs

15 lines
201 B
Rust

// rustfmt-brace_style: AlwaysNextLine
// Function brace style
fn lorem() {
// body
}
fn lorem(ipsum: usize) {
// body
}
fn lorem<T>(ipsum: T) where T: Add + Sub + Mul + Div {
// body
}