Skip to content

make rustdoc distinguish between enum and type #14790

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

Closed
wants to merge 1 commit into from

Conversation

ftxqxd
Copy link
Contributor

@ftxqxd ftxqxd commented Jun 10, 2014

rustdoc was not previously distinguishing between enum and type definitions, formatting them similarly.

rustdoc was not previously distinguishing between `enum` and `type`
definitions, formatting them similarly.
@alexcrichton
Copy link
Member

I believe that the issue is a little more subtle than just changing this. I had to make this modification to explicitly get cross-crate links and such to work out ok. I would recommend building this change, generating local documentation, and then running linkchecker over the generated files to ensure that all the various links are still working.

@alexcrichton
Copy link
Member

I suspect that this will require much more extensive changes to rustdoc to support this, but things may have changed since I last looked at them! I'm going to close this for now (bors's queue is quite full!), but if you have some more developments, feel free to reopen!

bors pushed a commit to rust-lang-ci/rust that referenced this pull request May 21, 2025
Fixes rust-lang/rust-clippy#14750 by reducing the lint span for
needless_return.

changelog: [`needless_return`]: Lint span no longer wraps to previous
line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants