Skip to content

rustdoc adds extra spaces where it shouldn't #42013

Closed
@steveklabnik

Description

@steveklabnik

As seen here: https://doc.rust-lang.org/std/sync/struct.Weak.html

These docs:

/// pointer, which returns an [`Option`]`<`[`Arc`]`<T>>`.

render like this:

optionarc

Those extra spaces shouldn't be there.

Metadata

Metadata

Labels

C-bugCategory: This is a bug.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.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