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

17 lines
206 B
Rust

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