index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
fn-expr.rs
blob: 64b28e4a289b3bc4f6862796acac3e665ef7c625 (
plain
)
1
fn
main
()
{
let
x
=
fn
(
a
:
int
)
->
int
{
ret
a
+
1
;
};
assert
(
x
(
4
)
==
5
);
}