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