Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
functions-closures
/
closure-returning-closure.rs
blob: c4ec792c1022d6db6beb40e60d4f2d3266b7874a [
file
] [
log
] [
blame
]
//@ run-pass
fn
main
()
{
let
f
=
|
_
||
x
,
y
|
x
+
y
;
assert_eq
!(
f
(())(
1
,
2
),
3
);
}