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
130d02b62e
rust
/
tests
/
pretty
/
example2.rs
4 lines
38 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
Pretty print empty blocks as {}
2021-12-01 13:45:14 -06:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink