-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 adds extra spaces where it shouldn't #42013
Comments
https://doc.rust-lang.org/nightly/std/sync/struct.Weak.html is a better link, I think -- stable doesn't have this documentation quite yet. |
gah, yes, thank you |
Seems like a problem with CSS padding of <a href="../../std/option/enum.Option.html"><code>Option</code></a>
<code><</code>
<a href="struct.Arc.html"><code>Arc</code></a>
<code><T>></code> I guess we want it to be like: <code>
<a href="../../std/option/enum.Option.html">Option</a>
<
<a href="struct.Arc.html">Arc</a>
<T>>
</code> |
That's wanted. I added it this way to make easier to spot if different types are present. |
Personally I don't like the spacing. IDEs and even other sections in Rustdoc (e.g. Or maybe we can change padding from 0.2em to 0.1em? |
👍 for fixing this spacing. |
Ok, I'll reduce it (but won't remove it). |
… r=QuietMisdreavus Reduce code block sides padding Fixes rust-lang#42013. <img width="1440" alt="screen shot 2018-09-19 at 22 58 32" src="https://user-images.githubusercontent.com/3050060/45781266-c6525680-bc5f-11e8-8eb0-98fc4c22a96e.png"> r? @QuietMisdreavus
As seen here: https://doc.rust-lang.org/std/sync/struct.Weak.html
These docs:
render like this:
Those extra spaces shouldn't be there.
The text was updated successfully, but these errors were encountered: