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
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 19:34:41 -05:00
type
r
=
{
field
:
fn
@
(
)
}
;
fn
main
(
)
{
Remove temporary fn# syntax
2011-10-20 22:34:04 -05:00
let
i
:
r
=
{
field
:
fn
(
)
{
}
}
;
Give subtype relationships to function types
2011-10-14 19:34:41 -05:00
}
Reference in New Issue
Copy Permalink