docco icon indicating copy to clipboard operation
docco copied to clipboard

rust: account for doc comment syntax

Open tomjakubowski opened this issue 6 years ago • 0 comments

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.

tomjakubowski avatar Sep 19 '18 20:09 tomjakubowski