Add tidy check for missing {# #}
tag in rustdoc templates
#130559
Labels
A-tidy
Area: The tidy tool
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
To make the generated HTML size smaller, we strip whitespace characters as much as possible in our jinja templates, using
{# #}
(jinja comments) to force the trimming between HTML items.However, we often forget to put
{# #}
between HTML items (like in #120818 most recently). A tidy check would fix this issue.The text was updated successfully, but these errors were encountered: