]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/doc-of-generic-item.rs
Rollup merge of #95006 - tmiasko:thread-local-static, r=wesleywiser
[rust.git] / src / tools / rustfmt / tests / target / doc-of-generic-item.rs
1 // Non-doc pre-comment of Foo
2 /// doc of Foo
3 // Non-doc post-comment of Foo
4 struct Foo<
5     // Non-doc pre-comment of 'a
6     /// doc of 'a
7     'a,
8     // Non-doc pre-comment of T
9     /// doc of T
10     T,
11     // Non-doc pre-comment of N
12     /// doc of N
13     const N: item,
14 >;