mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-28 15:43:21 +00:00
18 lines
208 B
Rust
18 lines
208 B
Rust
// rustfmt-fn_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
|
|
}
|