<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/const-generics/const-generic-slice.rs, branch 1.62.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.62.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.62.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-02-02T08:29:33+00:00</updated>
<entry>
<title>Emit valid HTML from rustdoc</title>
<updated>2022-02-02T08:29:33+00:00</updated>
<author>
<name>Jacob Hoffman-Andrews</name>
<email>github@hoffman-andrews.com</email>
</author>
<published>2022-02-02T06:11:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=32f62607c3142dfc9eb56a0bd72dee298ca43358'/>
<id>urn:sha1:32f62607c3142dfc9eb56a0bd72dee298ca43358</id>
<content type='text'>
Previously, tidy-html5 (`tidy`) would complain about a few things in our
HTML. The main thing is that `&lt;summary&gt;` tags can't contain `&lt;div&gt;`s.
That's easily fixed by changing out the `&lt;div&gt;`s for `&lt;span&gt;`s with
`display: block`.

However, there's also a rule that `&lt;span&gt;`s can't contain heading
elements. `&lt;span&gt;` permits only "phrasing content"
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span, and
`&lt;h3&gt;` (and friends) are "Flow content, heading content, palpable
content".
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements

We have a wrapping `&lt;div&gt;` that goes around each `&lt;h3&gt;`/`&lt;h4&gt;`,
etc. We turn that into a `&lt;section&gt;` rather than a `&lt;span&gt;` because
`&lt;section&gt;` permits "flow content".
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section

After this change we get only three warnings from tidy, run on
struct.String.html:

line 6 column 10790 - Warning: trimming empty &lt;span&gt;
line 1 column 1118 - Warning: &lt;link&gt; proprietary attribute "disabled"
line 1 column 1193 - Warning: &lt;link&gt; proprietary attribute "disabled"

The empty `&lt;span&gt;` is a known issue - there's a span in front of the
search box to work around a strange Safari issue.

The `&lt;link&gt;` attributes are the non-default stylesheets. We can probably
refactor theme application to avoid using this proprietary "disabled"
attribute.
</content>
</entry>
<entry>
<title>`feature(const_generics)` -&gt; `feature(const_param_types)`</title>
<updated>2021-08-30T09:00:21+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2021-08-27T16:04:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0c28e028b6f45f33447f24de7dd762b8599b7a4e'/>
<id>urn:sha1:0c28e028b6f45f33447f24de7dd762b8599b7a4e</id>
<content type='text'>
</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>Replace h3 and h4 containing invalid DOM</title>
<updated>2021-06-01T19:19:28+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2021-04-23T20:15:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9077d540da944c41678a7129e04e7fc5d7e38582'/>
<id>urn:sha1:9077d540da944c41678a7129e04e7fc5d7e38582</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix slice const generic length display</title>
<updated>2019-06-07T13:54:16+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2019-06-06T22:58:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f3753703c9e4e587fcb9790a07aa18b310b8431'/>
<id>urn:sha1:8f3753703c9e4e587fcb9790a07aa18b310b8431</id>
<content type='text'>
</content>
</entry>
</feed>
