rust/tests/target/configs-fn_brace_style-prefer_same_line.rs

16 lines
208 B
Rust
Raw Normal View History

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