Skip to content

allow line numbers in rustdoc #22878

Closed
Closed
@mdinger

Description

@mdinger

In documentation it might be nice to talk about specific line numbers so RustDoc should (perhaps optionally) include them in examples. Here they are being added manually which isn't so nice. In the book, there aren't line numbers either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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