mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
17 lines
511 B
Rust
17 lines
511 B
Rust
// rustfmt-fn_args_density: Vertical
|
|
// Function arguments density
|
|
|
|
trait Lorem {
|
|
fn lorem(ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet);
|
|
|
|
fn lorem(ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet) {
|
|
// body
|
|
}
|
|
|
|
fn lorem(ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet, consectetur: onsectetur, adipiscing: Adipiscing, elit: Elit);
|
|
|
|
fn lorem(ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet, consectetur: onsectetur, adipiscing: Adipiscing, elit: Elit) {
|
|
// body
|
|
}
|
|
}
|