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: properly nest markup within enum variant lists (fixes #6605) #6700

Closed
wants to merge 1 commit into from

Conversation

ben0x539
Copy link
Contributor

This indents all but the first line of multi-line annotations for individual enum variants with four spaces so that pandoc will recognize everything as belonging to the same list item.

Since that introduces <p> tags for some list items, I've gone ahead and inserted blank lines after each list item so that consistently get <p> tags for all <li>s documenting variants. It's a bit less compact now but still tolerable, I think.

…ang#6605)

This indents all but the first line of multi-line annotations for
individual enum variants with four spaces so that pandoc will
recognize everything as belonging to the same list item.

Since that introduces `<p>` tags for some list items, I've gone ahead
and inserted blank lines after each list item so that consistently
get `<p>` tags for all `<li>`s documenting variants. It's a bit less
compact now but still tolerable, I think.
@ben0x539
Copy link
Contributor Author

I force-pushed a rebased commit to my branch.

bors added a commit that referenced this pull request May 26, 2013
This indents all but the first line of multi-line annotations for individual enum variants with four spaces so that pandoc will recognize everything as belonging to the same list item.

Since that introduces `<p>` tags for some list items, I've gone ahead and inserted blank lines after each list item so that consistently get `<p>` tags for all `<li>`s documenting variants. It's a bit less compact now but still tolerable, I think.
@bors bors closed this May 26, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 25, 2021
Fix missing_panics_doc warning on `unreachable!`.

Fixes rust-lang#6699.

Are there any other test-cases I should cover?

changelog: [`missing_panics_doc`](https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc): No longer lints on [`unreachable!`](https://doc.rust-lang.org/std/macro.unreachable.html)
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.

3 participants