5df8c8f7e5
* Fix doc of generic items formmating error * Remove tracked `attrs_end_with_doc_comment` flag in `RewriteContext` * Fix duplicated doc comments of const generic params * Fix `<ast::GenericParam as Spanned>::span()` * Remove duplicated source file of `doc-of-generic-item.rs`
15 lines
274 B
Rust
15 lines
274 B
Rust
// Non-doc pre-comment of Foo
|
|
/// doc of Foo
|
|
// Non-doc post-comment of Foo
|
|
struct Foo<
|
|
// Non-doc pre-comment of 'a
|
|
/// doc of 'a
|
|
'a,
|
|
// Non-doc pre-comment of T
|
|
/// doc of T
|
|
T,
|
|
// Non-doc pre-comment of N
|
|
/// doc of N
|
|
const N: item,
|
|
>;
|