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
12c32e944d
rust
/
src
/
test
/
run-pass
/
break-value.rs
4 lines
78 B
Rust
Raw
Normal View
History
Unescape
Escape
Convert ret to return
2012-08-01 19:30:05 -05:00
fn
int_id
(
x
:
int
)
->
int
{
return
x
;
}
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
Add an infinite loop construct Add a loop {} construct for infinite loops, and use it in test cases. See #1906 for details.
2012-03-09 18:11:56 -06:00
fn
main
(
)
{
loop
{
int_id
(
break
)
;
}
}
Reference in New Issue
Copy Permalink