<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/issue-56822.rs, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: update test cases now that code-header is used without in-band</title>
<updated>2022-09-25T20:52:26+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2022-09-25T20:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ba40314e1a28e6230c6f404ee3b23de3efb7709'/>
<id>urn:sha1:4ba40314e1a28e6230c6f404ee3b23de3efb7709</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rustdoc accessibility: use real headers for doc items</title>
<updated>2021-07-25T21:41:57+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-07-25T21:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30'/>
<id>urn:sha1:76a3b609d0b93c5d8da5e4e3db37bd03e5cb1c30</id>
<content type='text'>
Part of #87059

Partially reverts #84703

Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
</content>
</entry>
<entry>
<title>Update rustdoc tests</title>
<updated>2021-06-02T18:30:18+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2021-06-02T08:59:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=14fe83f7e49c384484bde8a5e0663393dc1a213d'/>
<id>urn:sha1:14fe83f7e49c384484bde8a5e0663393dc1a213d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: use details tag for trait implementors</title>
<updated>2021-04-20T02:46:51+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2021-04-18T06:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=569096cbaffe39fbede339430c5ed8e80d991a80'/>
<id>urn:sha1:569096cbaffe39fbede339430c5ed8e80d991a80</id>
<content type='text'>
This switches from JS-generated toggles to using the HTML &lt;details&gt; tag
for expanding and collapsing entries in the "Implementors" section.
</content>
</entry>
<entry>
<title>Rollup merge of #56874 - JohnHeitmann:docs-spacing, r=GuillaumeGomez</title>
<updated>2019-01-13T20:18:09+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2019-01-13T20:18:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d00124b8528b50f32b2aeabed9815032a23fdf7'/>
<id>urn:sha1:6d00124b8528b50f32b2aeabed9815032a23fdf7</id>
<content type='text'>
Simplify foreign type rendering.

Simplified foreign type rendering by switching from tables to flexbox. Also, removed some seemingly extraneous elements like “ghost” spans.

Reduces element count on the `std::iter::Iterator` page by 30%. On my laptop it drops Iterator page load time from ~15s to ~10s. Frame times during scrolling are a hair lower too.

Known visual changes (happy to tweak based on feedback):
* The main `impl ...` headers are now getting the default, larger, h3 font size. This was an accident, but I liked how it turned out so I didn't fix it.
* There's a hair less vertical spacing between the end of a where block and the start of the next fn. Now, all spacing is consistent. I think this looks a bit worse. I may tweak vertical spacing more here or in a follow-up that cleans up vertical spacing more broadly.
* "[src]" links are all sized at 17px. A few were 19px in the original.

I haven't yet done heavy cross-browser or cross-crate testing. I was hoping to get a quick thumbs up or thumbs down here at this first draft, then if this is on the right track I'll spend some time on that testing.

TODO:

- [x] Test on Chrome
- [x] Test on Firefox
- [ ] ~~Test on UC Android~~
- [x] Test on Edge
- [x] Test on iOS safari
- [x] Test on desktop safari
- [x] Update automated tests
- [x] Increase vertical margin
- [x] Fix "Important traits for" hover overlap
- [x] Wait for #55798 to land &amp; merge it
</content>
</entry>
<entry>
<title>remove remaining copyright headers</title>
<updated>2018-12-28T20:50:33+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2018-12-28T20:50:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=68860989eb0aa7d4dcfcc63257c61f9b5e925d52'/>
<id>urn:sha1:68860989eb0aa7d4dcfcc63257c61f9b5e925d52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify foreign type rendering.</title>
<updated>2018-12-28T05:22:27+00:00</updated>
<author>
<name>John Heitmann</name>
<email>jheitmann@gmail.com</email>
</author>
<published>2018-12-27T05:23:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9'/>
<id>urn:sha1:34bd2b845b3acd84c5a9bddae3ff8081c19ec5e9</id>
<content type='text'>
Simplified foreign type rendering by switching from tables to flexbox. Also, removed some seemingly extraneous elements like “ghost” spans.

Reduces element count on std::iter::Iterator by 30%.
</content>
</entry>
<entry>
<title>Call poly_project_and_unify_type on types that contain inference types</title>
<updated>2018-12-15T02:33:25+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2018-12-15T02:02:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a375410e1f8f95f13ed096ff937bf3c64f2ff905'/>
<id>urn:sha1:a375410e1f8f95f13ed096ff937bf3c64f2ff905</id>
<content type='text'>
Commit f57247c48cb59 (Ensure that Rusdoc discovers all necessary auto
trait bounds) added a check to ensure that we only attempt to unify a
projection predicatre with inference variables. However, the check it
added was too strict - instead of checking that a type *contains* an
inference variable (e.g. '&amp;_', 'MyType&lt;_&gt;'), it required the type to
*be* an inference variable (i.e. only '_' would match).

This commit relaxes the check to use 'ty.has_infer_types', ensuring that
we perform unification wherever possible.

Fixes #56822
</content>
</entry>
</feed>
