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

rust: account for doc comment syntax #397

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomjakubowski
Copy link

Rust has two flavors of comment, the plain line comment (//) and the doc
comment (///). Rustdoc, the native documentation tool, renders only doc
comments (///).

docco now searches for both // comments and /// comments in Rust source
files. Previously, it had only searched for // comments, so /// comments
were rendered with an ugly superfluous / at the start of their content.

Rust has two flavors of comment, the plain line comment (`//`) and the doc
comment (`///`).  Rustdoc, the native documentation tool, renders only doc
comments (`///`).

docco now searches for both `//` comments and `///` comments in Rust source
files.  Previously, it had only searched for `//` comments, so `///` comments
were rendered with an ugly superfluous `/` at the start of their content.
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.

1 participant