33 lines
880 B
Rust
33 lines
880 B
Rust
// rustfmt-fn_args_density: CompressedIfEmpty
|
|
// 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);
|
|
|
|
// FIXME: Previous line should be formatted like this:
|
|
// 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
|
|
}
|
|
}
|