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
rust
/
src
/
test
/
run-pass
/
drop-bind-thunk-args.rs
6 lines
82 B
Rust
Raw
Normal View
History
Unescape
Escape
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 11:19:50 -07:00
Reformat for new syntax
2011-07-27 14:19:39 +02:00
fn
f
(
x
:
@
int
)
{
}
Fix bug in bind thunks failing top drop unbound args; add test and adjust rustc to use bind again.
2010-09-30 17:39:37 -07:00
Reformat This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19 15:16:48 -07:00
fn
main
(
)
{
let
x
=
@
10
;
let
ff
=
bind
f
(
_
)
;
ff
(
x
)
;
ff
(
x
)
;
}
Reference in New Issue
Copy Permalink