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
f05e2da709
rust
/
src
/
test
/
pretty
/
example2.rs
4 lines
39 B
Rust
Raw
Normal View
History
Unescape
Escape
Add dedicated pretty-printer tests with new pp-exact directive Add a new src/test/pretty directory to hold just source files for testing the pretty-printer. Add a new pp-exact directive. When this directive is followed by a file name it specifies a file containing the output that the pretty-printer should generate. When pp-exact is not followed by a filename it says that the file should pretty-print as written.
2011-08-01 16:10:59 -05:00
// pp-exact:example2.pp
Reformat This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19 17:16:48 -05:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink