Uh oh!
There was an error while loading. Please reload this page.
Refactor doc comment parsing - #74209
Conversation
tesuji
commented
Jul 10, 2020
May need a crater run for rustdoc. |
tesuji
commented
Jul 10, 2020
Actually, this PR needs compiler members review: r? @petrochenkov |
petrochenkov
commented
Jul 10, 2020
Oh, this looks like something from my todo list. |
tesuji
commented
Jul 10, 2020
That seems right thing to do. How would I proceed this PR? |
bc66a36 to
d087398Comparepetrochenkov
commented
Jul 10, 2020
(I didn't look at the PR in detail yet, will review later.) |
19cfcb7 to
b64a104CompareThere was a problem hiding this comment.
This condition may seem useless as we never consider /****** [...] */ as doc comment.
I am not sure about /*!******** [..] */, should we keep this behavior.
There was a problem hiding this comment.
I think it was supposed to address the /****** case.
If it's not relevant now, then it's better to simplify the code and remove it.
Uh oh!
There was an error while loading. Please reload this page.
36b83df to
7ff5e2aCompareUh oh!
There was an error while loading. Please reload this page.
7ff5e2a to
0dc065aCompare
This comment has been minimized.
This comment has been minimized.
petrochenkov
commented
Jul 21, 2020
I'll submit a PR removing the doc comment beautification from the compiler tomorrow. |
petrochenkov
commented
Jul 21, 2020
Otherwise:
|
petrochenkov
commented
Jul 22, 2020
Blocked on #74627. |
petrochenkov
commented
Aug 7, 2020
#74627 has landed. |
0bf2c68 to
2ebd42eComparepetrochenkov
commented
Aug 12, 2020
I still feel skeptical about many changes here (#74209 (comment)). |
tesuji
commented
Aug 13, 2020
Some explanation:
I find the logic straight-forward after rewriting I admit the clippy changes are out of nowhere. Will move it to another PR.
Yeah, I admit |
bors
commented
Aug 21, 2020
☔ The latest upstream changes (presumably #75642) made this pull request unmergeable. Please resolve the merge conflicts. |
2ebd42e to
51d53e6Compare51d53e6 to
92521d1Comparecrlf0710
commented
Sep 25, 2020
@lzutao Ping from triage! CI is still red here. Any updates? |
tesuji
commented
Sep 25, 2020
Sorry, I lost interested in this change. Everyone else could pick it if they want. |
Split from #74094 and improved.
I have another way to implement
is_doc_commentbut might be slower: #74183