mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
21 lines
443 B
Rust
21 lines
443 B
Rust
// rustfmt-where_layout: Vertical
|
|
// Where layout
|
|
|
|
fn lorem<Ipsum, Dolor>(ipsum: Ipsum, dolor: Dolor)
|
|
where
|
|
Ipsum: IpsumDolorSitAmet,
|
|
Dolor: DolorSitAmetConsectetur,
|
|
{
|
|
// body
|
|
}
|
|
|
|
fn lorem<Ipsum, Dolor, Sit, Amet>(ipsum: Ipsum, dolor: Dolor, sit: Sit, amet: Amet)
|
|
where
|
|
Ipsum: IpsumDolorSitAmet,
|
|
Dolor: DolorSitAmetConsectetur,
|
|
Sit: SitAmetConsecteturAdipiscing,
|
|
Amet: AmetConsecteturAdipiscingElit,
|
|
{
|
|
// body
|
|
}
|