<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/render/write_shared.rs, branch try-perf</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try-perf</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try-perf'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-25T21:19:22+00:00</updated>
<entry>
<title>rustdoc: put the toolbar on the all item index</title>
<updated>2025-09-25T21:19:22+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2025-09-25T21:13:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8daad494b11ae5d0e5282be485625687bcf27e37'/>
<id>urn:sha1:8daad494b11ae5d0e5282be485625687bcf27e37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc-search: search backend with partitioned suffix tree</title>
<updated>2025-08-15T17:26:03+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2024-11-22T19:58:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8511e40e7294e1efcc64b81d43969b6bf0f14c2d'/>
<id>urn:sha1:8511e40e7294e1efcc64b81d43969b6bf0f14c2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve path segment joining.</title>
<updated>2025-07-16T22:37:19+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-05-27T05:51:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb7aa9e4fdb88a4833274303899b9801ef924100'/>
<id>urn:sha1:fb7aa9e4fdb88a4833274303899b9801ef924100</id>
<content type='text'>
There are many places that join path segments with `::` to produce a
string. A lot of these use `join("::")`. Many in rustdoc use
`join_with_double_colon`, and a few use `.joined("..")`. One in Clippy
uses `itertools::join`. A couple of them look for `kw::PathRoot` in the
first segment, which can be important.

This commit introduces `rustc_ast::join_path_{syms,ident}` to do the
joining for everyone. `rustc_ast` is as good a location for these as
any, being the earliest-running of the several crates with a `Path`
type. Two functions are needed because `Ident` printing is more complex
than simple `Symbol` printing.

The commit also removes `join_with_double_colon`, and
`estimate_item_path_byte_length` with it.

There are still a handful of places that join strings with "::" that are
unchanged. They are not that important: some of them are in tests, and
some of them first split a path around "::" and then rejoin with "::".

This fixes one test case where `{{root}}` shows up in an error message.
</content>
</entry>
<entry>
<title>Auto merge of #142869 - nnethercote:join_path-mini, r=camelid</title>
<updated>2025-07-08T06:32:37+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-08T06:32:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=45b80ac21a454d343833aad763ef604510c88375'/>
<id>urn:sha1:45b80ac21a454d343833aad763ef604510c88375</id>
<content type='text'>
Use `join_with_double_colon` in `write_shared.rs`.

For consistency. Also, it's faster because `join_with_double_colon` does a better job estimating the allocation size than `join` from `itertools`.

r? `@camelid`
</content>
</entry>
<entry>
<title>setup CI and tidy to use typos for spellchecking and fix few typos</title>
<updated>2025-07-03T07:51:06+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2024-12-07T10:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c76d032f0144b650a438ee1efba89c475e0b115b'/>
<id>urn:sha1:c76d032f0144b650a438ee1efba89c475e0b115b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use `join_with_double_colon` in `write_shared.rs`.</title>
<updated>2025-06-22T10:28:48+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2025-06-22T10:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0cf0f9fc74f7bd1c9f160cc1dbd67c92a9436704'/>
<id>urn:sha1:0cf0f9fc74f7bd1c9f160cc1dbd67c92a9436704</id>
<content type='text'>
For consistency. Also, it's faster because `join_with_double_colon` does
a better job estimating the allocation size than `join` from
`itertools`.
</content>
</entry>
<entry>
<title>`Option`s are `Iterator`s</title>
<updated>2025-06-19T10:26:13+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-06-18T10:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2bf66e3887f8ef915a1f92496b1ddf27d847b1ee'/>
<id>urn:sha1:2bf66e3887f8ef915a1f92496b1ddf27d847b1ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>avoid intermediately collecting into vectors</title>
<updated>2025-06-19T10:26:13+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-06-18T09:49:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=569aa26e7bf7f3742fbd6ab3ea3e3c5f9b8d8a75'/>
<id>urn:sha1:569aa26e7bf7f3742fbd6ab3ea3e3c5f9b8d8a75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>one less pathbuf allocation</title>
<updated>2025-06-19T10:26:13+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-05-24T12:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=867c1d5ebf15b1c710cf892c032ad5ec047b34b9'/>
<id>urn:sha1:867c1d5ebf15b1c710cf892c032ad5ec047b34b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>`Result::expect` instead of `match` and `panic!`</title>
<updated>2025-06-18T09:42:43+00:00</updated>
<author>
<name>Yotam Ofek</name>
<email>yotam.ofek@gmail.com</email>
</author>
<published>2025-05-24T11:56:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b2fe858a4e69e51e97d737496e938589b26db709'/>
<id>urn:sha1:b2fe858a4e69e51e97d737496e938589b26db709</id>
<content type='text'>
</content>
</entry>
</feed>
