Skip to content

HTML generated for code blocks can be improved (and shortened) #74180

Closed
@GuillaumeGomez

Description

@GuillaumeGomez

For example, we can have occurrences of:

<span class="op">+</span><span class="op">=</span>

In this case, we could simply have:

<span class="op">+=</span>

We also have some weird generation sometimes:

</span> <span class="ident">x</span> <span class="kw">in</span> <span class="kw-2">&amp;</span><span class="ident">set</span>

In this case, I'm not sure what <span class="kw-2">&amp;</span> is actually doing...

Metadata

Metadata

Labels

T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions