fc6b7c8b38
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
8 lines
146 B
Rust
8 lines
146 B
Rust
|
|
|
|
|
|
// -*- rust -*-
|
|
fn f<@T, @U>(x: T, y: U) -> {a: T, b: U} { ret {a: x, b: y}; }
|
|
|
|
fn main() { log f({x: 3, y: 4, z: 5}, 4).a.x; log f(5, 6).a; }
|