mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
17 lines
290 B
Rust
17 lines
290 B
Rust
// rustfmt-fn_args_layout: Visual
|
|
// Function arguments layout
|
|
|
|
fn lorem() {}
|
|
|
|
fn lorem(ipsum: usize) {}
|
|
|
|
fn lorem(ipsum: usize,
|
|
dolor: usize,
|
|
sit: usize,
|
|
amet: usize,
|
|
consectetur: usize,
|
|
adipiscing: usize,
|
|
elit: usize) {
|
|
// body
|
|
}
|