<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/escape, branch cargo_update</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=cargo_update</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=cargo_update'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-10-07T17:52:39+00:00</updated>
<entry>
<title>rustdoc: improve `&lt;wbr&gt;`-insertion for SCREAMING_CAMEL_CASE</title>
<updated>2024-10-07T17:52:39+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-10-07T17:30:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e23419fc97a8ca2fb3f6331115c13b2a5948d2c9'/>
<id>urn:sha1:e23419fc97a8ca2fb3f6331115c13b2a5948d2c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: move the wbr after the underscore, instead of before</title>
<updated>2024-07-29T17:31:02+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-07-22T16:49:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac303df4e21eabfbf692f2d1959f7403f4887a31'/>
<id>urn:sha1:ac303df4e21eabfbf692f2d1959f7403f4887a31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: properly handle path wrapping</title>
<updated>2024-07-29T17:31:02+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-07-19T16:00:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3bf8bcfbe0ebd9527a8ec107c83085cd2d4d6ec1'/>
<id>urn:sha1:3bf8bcfbe0ebd9527a8ec107c83085cd2d4d6ec1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: avoid redundant HTML when there's already line breaks</title>
<updated>2024-07-29T15:46:25+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-07-07T02:05:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9186001f3491c0eb996de6f61a457cecfb089333'/>
<id>urn:sha1:9186001f3491c0eb996de6f61a457cecfb089333</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: word wrap CamelCase in the item list table</title>
<updated>2024-07-29T15:45:50+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-06-10T22:01:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f3661dce09bc715a46c01f7ea57694e06b587f29'/>
<id>urn:sha1:f3661dce09bc715a46c01f7ea57694e06b587f29</id>
<content type='text'>
This is an alternative to ee6459d6521cf6a4c2e08b6e13ce3c6ce5d55ed0.
That is, it fixes the issue that affects the very long type names
in https://docs.rs/async-stripe/0.31.0/stripe/index.html#structs.

This is, necessarily, a pile of nasty heuristics.
We need to balance a few issues:

- Sometimes, there's no real word break.
  For example, `BTreeMap` should be `BTree&lt;wbr&gt;Map`,
  not `B&lt;wbr&gt;Tree&lt;wbr&gt;Map`.

- Sometimes, there's a legit word break,
  but the name is tiny and the HTML overhead isn't worth it.
  For example, if we're typesetting `TyCtx`,
  writing `Ty&lt;wbr&gt;Ctx` would have an HTML overhead of 50%.
  Line breaking inside it makes no sense.
</content>
</entry>
</feed>
