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-11-25 16:24:46 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a219505f7c
rust
/
tests
/
pretty
/
example1.rs
4 lines
26 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 21:10:59 +00:00
// pp-exact
Pretty print empty blocks as {}
2021-12-01 19:45:14 +00:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink