Skip to content

Fix formatting of some code blocks in pdf docs #11350

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

Merged
merged 1 commit into from
Jan 7, 2014
Merged

Fix formatting of some code blocks in pdf docs #11350

merged 1 commit into from
Jan 7, 2014

Conversation

kchmck
Copy link
Contributor

@kchmck kchmck commented Jan 6, 2014

I was reading through the tutorial and manual pdfs and noticed some of the code blocks have glitches in their formatting:


Putting empty lines around the blocks fixes this. I did a search through the other markdown files and made the change there as well.

Code blocks apparently need to be surrounded by whitespace to be output
correctly when generating pdfs
bors added a commit that referenced this pull request Jan 7, 2014
I was reading through the tutorial and manual pdfs and noticed some of the code blocks have glitches in their formatting:

![](http://i.imgur.com/9HXZ4dW.png)
![](http://i.imgur.com/Ds2By6j.png)

Putting empty lines around the blocks fixes this. I did a search through the other markdown files and made the change there as well.
@bors bors closed this Jan 7, 2014
@bors bors merged commit 5464d48 into rust-lang:master Jan 7, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 4, 2024
[`type_id_on_box`]: lint on any `Box<dyn _>`

Closes rust-lang#11349.

It now not only lints when calling `.type_id()` on the type `Box<dyn Any>`, but also on any `Box<dyn Trait>` where `Trait` is a subtrait of `Any`

changelog: FN: [`type_id_on_box`]: lint if `Any` is a sub trait
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