mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
11 lines
427 B
Rust
11 lines
427 B
Rust
// rustfmt-where_layout: HorizontalVertical
|
|
// 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
|
|
}
|