blob: 3b78932e1776ab10ba75e274ee0337cfbc40e511 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// 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
}
|