rust/tests/source/configs-fn_brace_style-prefer_same_line.rs
2017-05-01 15:58:04 +02:00

15 lines
204 B
Rust

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