Skip to content

Fix doc comment#72

Merged
liufengyun merged 2 commits into
mainfrom
fix-doc-comment
Jul 17, 2026
Merged

Fix doc comment#72
liufengyun merged 2 commits into
mainfrom
fix-doc-comment

Conversation

@liufengyun

Copy link
Copy Markdown
Contributor

Fix #66 : Fix doc comment

Summary

Strip the multiline //] in comment.

Checklist

  • Added / updated tests under tests/pos/ or tests/warn/
  • Docs updated if the change affects user-visible behavior
  • All commits are signed off (why?)
How to sign off commits

Use git commit -s to add the Signed-off-by line automatically:

To add a sign-off to the last commit retroactively:

git commit --amend -s --no-edit

To add sign-off to the last 3 commits:

git rebase --signoff HEAD~3

Security impact

No

Compatibility impact

No

Signed-off-by: Fengyun Liu <fengyun.liu.cs@gmail.com>
Signed-off-by: Fengyun Liu <fengyun.liu.cs@gmail.com>

@necto necto left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable and fixes the issue on my machine. Thanks!

@liufengyun

Copy link
Copy Markdown
Contributor Author

Thank you for reviewing @necto

@liufengyun
liufengyun merged commit c340593 into main Jul 17, 2026
1 check passed
@liufengyun
liufengyun deleted the fix-doc-comment branch July 17, 2026 17:14
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.

Jo doc rendering keeps multiline comment terminator in the output

2 participants