]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/top-level-doc-comments.rs
Auto merge of #97437 - jyn514:impl-asrawfd-arc, r=dtolnay
[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; }