This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
d2be5b6c7a
rust
/
src
/
test
/
run-pass
/
fn-coerce-field.rs
7 lines
79 B
Rust
Raw
Normal View
History
Unescape
Escape
Give subtype relationships to function types
2011-10-14 17:34:41 -07:00
type
r
=
{
field
:
fn
@
(
)
}
;
fn
main
(
)
{
Remove temporary fn# syntax
2011-10-20 20:34:04 -07:00
let
i
:
r
=
{
field
:
fn
(
)
{
}
}
;
Give subtype relationships to function types
2011-10-14 17:34:41 -07:00
}
Copy permalink