rust/tests/source/configs-fn_brace_style-same_line_where.rs

15 lines
203 B
Rust
Raw Normal View History

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