2017-04-30 16:49:39 -05:00
|
|
|
// 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
|
|
|
|
}
|
|
|
|
|
2017-06-11 23:01:41 -05:00
|
|
|
fn lorem(
|
|
|
|
ipsum: Ipsum,
|
|
|
|
dolor: Dolor,
|
|
|
|
sit: Sit,
|
|
|
|
amet: Amet,
|
|
|
|
consectetur: onsectetur,
|
|
|
|
adipiscing: Adipiscing,
|
|
|
|
elit: Elit,
|
|
|
|
);
|
2017-04-30 16:49:39 -05:00
|
|
|
|
|
|
|
// FIXME: Previous line should be formatted like this:
|
|
|
|
// fn lorem(ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet, consectetur: onsectetur,
|
|
|
|
// adipiscing: Adipiscing, elit: Elit);
|
|
|
|
|
2017-06-11 23:01:41 -05:00
|
|
|
fn lorem(
|
|
|
|
ipsum: Ipsum,
|
|
|
|
dolor: Dolor,
|
|
|
|
sit: Sit,
|
|
|
|
amet: Amet,
|
|
|
|
consectetur: onsectetur,
|
|
|
|
adipiscing: Adipiscing,
|
|
|
|
elit: Elit,
|
|
|
|
) {
|
2017-04-30 16:49:39 -05:00
|
|
|
// body
|
|
|
|
}
|
|
|
|
}
|