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

Rustdoc should preserve order of item declaration by default. #36033

Closed
nixpulvis opened this issue Aug 27, 2016 · 3 comments
Closed

Rustdoc should preserve order of item declaration by default. #36033

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

Comments

@nixpulvis
Copy link

I'm trying to write code in a specific order for the proposes of reading, and the fact that it sorts them by default alphabetically is not what I want.

At least make it an option, what the default it might be an argument.

@apasel422 apasel422 added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Aug 27, 2016
@apasel422
Copy link
Contributor

Sort of a duplicate of #8552.

@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 26, 2017
@QuietMisdreavus
Copy link
Member

Current status: Thanks to #46787 there is a --sort-modules-by-appearance flag that will leave items on module pages in declaration order. The flag is still unstable, but it exists.

@ehuss ehuss removed the T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. label Jan 18, 2022
@Dylan-DPC
Copy link
Member

Closing this as it is implemented by #46787

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-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

7 participants