empty #
in doc-test causes failure
#23106
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
#
in doc-test causes failure
#23106
When using the following as module level or item level doc test (module level shown in example) ...
... the generated markdown looks like this ...
... and the output of
cargo test
like that:If the empty hidden line
#
is removed, it will work such as in the following:This is a minor issue, but one that can cause some headaches as people might just not understand what's wrong that easily, at least when looking at the error messages.
Desired behaviour would be to just ignore empty hidden lines entirely.
Meta
The text was updated successfully, but these errors were encountered: