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
rust
/
src
/
test
/
run-pass
/
macro-3.rs
6 lines
91 B
Rust
Raw
Normal View
History
Unescape
Escape
Add simple syntax extension (#simplext)
2011-06-20 17:26:17 -07:00
fn
main
(
)
{
Reformat This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19 15:16:48 -07:00
#
macro
[
[
#
trivial
[
]
,
1
*
2
*
4
*
2
*
1
]
]
;
Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.
2011-07-13 15:44:09 -07:00
Reformat This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19 15:16:48 -07:00
assert
(
#
trivial
[
]
=
=
16
)
;
Fix damage done by the pretty-printer
2011-07-27 14:48:34 +02:00
}
Reference in New Issue
Copy Permalink