2017-04-30 16:49:39 -05:00
|
|
|
// rustfmt-fn_brace_style: SameLineWhere
|
|
|
|
// 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,
|
2017-04-30 16:49:39 -05:00
|
|
|
{
|
|
|
|
// body
|
|
|
|
}
|