]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/top-level-doc-comments.rs
Merge commit 'c1664c50b27a51f7a78c93ba65558e7c33eabee6' into clippyup
[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; }