20 lines
209 B
Rust
20 lines
209 B
Rust
// rustfmt-fn_brace_style: AlwaysNextLine
|
|
// Function brace style
|
|
|
|
fn lorem()
|
|
{
|
|
// body
|
|
}
|
|
|
|
fn lorem(ipsum: usize)
|
|
{
|
|
// body
|
|
}
|
|
|
|
fn lorem<T>(ipsum: T)
|
|
where
|
|
T: Add + Sub + Mul + Div,
|
|
{
|
|
// body
|
|
}
|