Skip to content

rust: account for doc comment syntax#397

Open
tomjakubowski wants to merge 1 commit into
jashkenas:masterfrom
tomjakubowski:rust-doc-comments
Open

rust: account for doc comment syntax#397
tomjakubowski wants to merge 1 commit into
jashkenas:masterfrom
tomjakubowski:rust-doc-comments

Conversation

@tomjakubowski

Copy link
Copy Markdown

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