mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
15 lines
200 B
Rust
15 lines
200 B
Rust
// rustfmt-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
|
|
}
|