rust/tests/target/configs/brace_style/fn_prefer_same_line.rs

17 lines
206 B
Rust
Raw Normal View History

// rustfmt-brace_style: PreferSameLine
// Function brace style
fn lorem() {
// body
}
fn lorem(ipsum: usize) {
// body
}
fn lorem<T>(ipsum: T)
2017-06-11 23:01:41 -05:00
where
T: Add + Sub + Mul + Div, {
// body
}