Skip to content

Conversation

edwin0cheng
Copy link
Contributor

@edwin0cheng edwin0cheng commented May 3, 2020

When working on #3182, I found that ImplDef and SourceFile do not implemet DocCommentsOwer trait, and I tested it in cargo doc that impl could has some doc-comments.

I am not so sure about SourceFile case, but in theory if that file is a crate root, the doc comment of it should represent the whole crate documentation, right ?

@matklad
Copy link
Contributor

matklad commented May 3, 2020

the doc comment of it should represent the whole crate documentation, right ?

Or the inner doc commnent of the corresponding module.

bors r+

@bors
Copy link
Contributor

bors bot commented May 3, 2020

@bors bors bot merged commit baa35b0 into rust-lang:master May 3, 2020
@edwin0cheng edwin0cheng deleted the add-doc-owners-to-impl branch May 3, 2020 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants