Currently, if I attempt to attach a doc comment to a template argument, like this:
/// Used for CSS/JS cache-busting
build_timestamp: &'static str,
...I get the following error:
error: expected identifier
--> src/templates.rs:58:9
|
58 | /// Used for CSS/JS cache-busting
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I'm left having to manually add an Arguments section containing a bulleted list to the documentation block for the template as a whole, resulting in this needlessly redundant and typo-prone output:
Currently, if I attempt to attach a doc comment to a template argument, like this:
...I get the following error:
I'm left having to manually add an
Arguments
section containing a bulleted list to the documentation block for the template as a whole, resulting in this needlessly redundant and typo-prone output: