Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow line numbers in rustdoc #22878

Closed
mdinger opened this issue Feb 27, 2015 · 3 comments
Closed

allow line numbers in rustdoc #22878

mdinger opened this issue Feb 27, 2015 · 3 comments
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@mdinger
Copy link
Contributor

mdinger commented Feb 27, 2015

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.

@huonw huonw added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Feb 28, 2015
@steveklabnik
Copy link
Member

Triage: no change.

@steveklabnik steveklabnik added T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. and removed T-tools labels May 18, 2017
@Mark-Simulacrum Mark-Simulacrum added the C-feature-request Category: A feature request, i.e: not implemented / a PR. label Jul 22, 2017
@steveklabnik
Copy link
Member

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

@GuillaumeGomez
Copy link
Member

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

kennytm added a commit to kennytm/rust that referenced this issue Oct 25, 2018
…tMisdreavus

Add line numbers option to rustdoc

Fixes rust-lang#22878.
pietroalbini added a commit to pietroalbini/rust that referenced this issue Oct 25, 2018
kennytm added a commit to kennytm/rust that referenced this issue Oct 26, 2018
kennytm added a commit to kennytm/rust that referenced this issue Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants