2017-04-30 23:49:39 +02:00
|
|
|
// rustfmt-fn_brace_style: AlwaysNextLine
|
|
|
|
// Function brace style
|
|
|
|
|
|
|
|
fn lorem()
|
|
|
|
{
|
|
|
|
// body
|
|
|
|
}
|
|
|
|
|
|
|
|
fn lorem(ipsum: usize)
|
|
|
|
{
|
|
|
|
// body
|
|
|
|
}
|
|
|
|
|
|
|
|
fn lorem<T>(ipsum: T)
|
2017-06-12 16:01:41 +12:00
|
|
|
where
|
|
|
|
T: Add + Sub + Mul + Div,
|
2017-04-30 23:49:39 +02:00
|
|
|
{
|
|
|
|
// body
|
|
|
|
}
|