rust/tests/target/configs-fn_brace_style-same_line_where.rs
2017-11-14 10:47:02 +09:00

18 lines
205 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
}