]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/top-level-doc-comments.rs
Rollup merge of #100299 - compiler-errors:issue-100283, r=notriddle
[rust.git] / src / test / 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; }