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

Fix JSDoc formatting for Rust block comments #342

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

gustavo-shigueo
Copy link
Collaborator

Goal

Properly handle block doc comments
Closes #341

Changes

Change the parse_doc function to print a doc comment as is if it is contained in a single #[doc = "..."] attribute and contains multiple lines.

Checklist

  • I have followed the steps listed in the Contributing guide.
  • If necessary, I have added documentation related to the changes made.
  • I have added or updated the tests related to the changes made.

@gustavo-shigueo gustavo-shigueo merged commit e08161c into main Jul 25, 2024
16 checks passed
@gustavo-shigueo gustavo-shigueo deleted the block_doc_comments branch July 25, 2024 18:20
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.

parse_docs doesn't handle block doc comments properly
1 participant