rust/src/test/run-pass/bind-parameterized-args-2.rs
Marijn Haverbeke fc6b7c8b38 Reformat for new mode syntax, step 1
Long lines were fixed in a very crude way, as I'll be following up
with another reformat in a bit.
2011-09-12 12:04:14 +02:00

7 lines
122 B
Rust

fn main() {
fn echo<T>(c: int, x: fn(T)) { log_err "wee"; }
let y = bind echo(42, _);
y(fn (i: str) { });
}