This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
1bede1f5e0
rust
/
src
/
test
/
run-pass
/
do1.rs
6 lines
77 B
Rust
Raw
Normal View
History
Unescape
Escape
Add 'do' expressions
2012-06-18 19:42:09 -05:00
fn
f
(
f
:
fn
@
(
int
)
)
{
f
(
10
)
}
fn
main
(
)
{
Convert to new closure syntax
2012-06-30 18:19:07 -05:00
do
f
(
)
|
i
|
{
assert
i
=
=
10
}
Add 'do' expressions
2012-06-18 19:42:09 -05:00
}
Reference in New Issue
Copy Permalink