]> git.lizzy.rs Git - rust.git/blob - tests/pretty/top-level-doc-comments.rs
Rollup merge of #107819 - clubby789:x-py-root, r=jyn514
[rust.git] / tests / pretty / top-level-doc-comments.rs
1 /// Some doc comment.
2 struct X;
3
4 // pp-exact
5
6 // Test that rust can properly pretty print a doc comment if it's the first line in a file.  some
7
8 fn main() { let x = X; }