Skip to content

allow line numbers in rustdoc #22878

Closed
Closed
@mdinger

Description

@mdinger
Contributor

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.

Activity

added
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
on Feb 28, 2015
steveklabnik

steveklabnik commented on Mar 24, 2016

@steveklabnik
Member

Triage: no change.

added
T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.
and removed on May 18, 2017
steveklabnik

steveklabnik commented on Sep 24, 2018

@steveklabnik
Member

@rust-lang/rustdoc, do we ever plan on implementing this?

GuillaumeGomez

GuillaumeGomez commented on Sep 24, 2018

@GuillaumeGomez
Member

Sounds like a good idea. I'll implement it later on.

added a commit that references this issue on Oct 25, 2018

Rollup merge of rust-lang#54921 - GuillaumeGomez:line-numbers, r=Quie…

eed093c
added a commit that references this issue on Oct 26, 2018

Rollup merge of rust-lang#54921 - GuillaumeGomez:line-numbers, r=Quie…

9e6165c

2 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @steveklabnik@huonw@GuillaumeGomez@mdinger@Mark-Simulacrum

        Issue actions

          allow line numbers in rustdoc · Issue #22878 · rust-lang/rust