Skip to content

Rustdoc 1.67.0 combining supertraits into single line even if it's 1000 characters long #107283

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

Open
tspiteri opened this issue Jan 24, 2023 · 1 comment
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@tspiteri
Copy link
Contributor

I generated documentation for the fixed crate, and the issue is clear in the documentation for the fixed::traits::Fixed trait.

Version 1.66.1 (90743e7 2023-01-10) produces something like this:

image

Version 1.67.0-beta.10 (2276448 2023-01-22) produces something like this:

image

That's over a 1000 characters squashed into a single line.

@tspiteri tspiteri added the C-bug Category: This is a bug. label Jan 24, 2023
@Noratrieb Noratrieb added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Jan 25, 2023
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Jan 25, 2023
@tspiteri
Copy link
Contributor Author

The situation is now better, as the excessively long line is now broken.

image

I think this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants