rust/tests/source/configs/brace_style/fn_same_line_where.rs
2018-03-02 15:07:13 +13:00

15 lines
200 B
Rust

// rustfmt-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
}