Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach doc-comment to declaration if there are newlines in between #3785

Merged
merged 1 commit into from
Mar 31, 2020

Conversation

ltentrup
Copy link
Contributor

This commit changes the parser to attach doc-comments to the corresponding declaration in case there are newlines in between the doc-comment and the declaration.

Implements the changes proposed in #3757

This commit changes the parser to attach doc-comments to the corresponding declaration in case there are newlines in between the doc-comment and the declaration.
@matklad
Copy link
Member

matklad commented Mar 31, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 31, 2020

@bors bors bot merged commit a932ccd into rust-lang:master Mar 31, 2020
@ltentrup ltentrup deleted the doc-comment-newline branch March 31, 2020 15:23
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