index
:
rustc
debian
progress-linux
upstream
debian 12 backports: mozilla
Progress Linux
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
doc
/
book
/
listings
/
ch19-advanced-features
/
no-listing-18-returns-closure
/
src
/
lib.rs
blob: d699ac34eb2222a16b2cabc3bc2357795f3335ba (
plain
)
1
2
3
fn
returns_closure
()
->
dyn
Fn
(
i32
)
->
i32
{
|
x
|
x
+
1
}