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
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
do2.rs
blob: 96797dad8f85714f9f25b637e673a6fe6cda73f5 (
plain
)
1
2
3
4
5
fn f(f: fn@(int) -> int) -> int { f(10) } fn main() { assert do f() |i| { i } == 10; }