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
3eef9993af
rust
/
src
/
test
/
run-pass
/
ret-none.rs
7 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
test: Add a test case for issue #362, "ret none".
2011-06-08 14:52:36 -05:00
tag
option
[
T
]
{
none
;
some
(
T
)
;
}
fn
f
[
T
]
(
)
->
option
[
T
]
{
ret
none
;
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
fn
main
(
)
{
f
[
int
]
(
)
;
}
Reference in New Issue
Copy Permalink