Skip to content

"Read more" shortening for trait impls chops off link references #49430

Closed
@clarfonthey

Description

@clarfonthey

Here's an example: https://doc.rust-lang.org/nightly/std/option/enum.Option.html#impl-Hash

If you notice here, because rustdoc naïvely chops off all lines of the doc but the first, link references get lost. While this particular instance will be solved by autolinking, this doesn't work if you link to something in general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.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