This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-10-31 06:22:00 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
dc499f193e
rust
/
src
/
test
/
run-pass
/
artificial-block.rs
4 lines
63 B
Rust
Raw
Normal View
History
Unescape
Escape
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 18:19:50 +00:00
fn
f
(
)
->
int
{
{
ret
3
;
}
}
Reformat This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19 22:16:48 +00:00
fn
main
(
)
{
assert
(
f
(
)
=
=
3
)
;
}
Reference in New Issue
Copy Permalink