<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/render/cache.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-12-28T02:42:13+00:00</updated>
<entry>
<title>Rename `rustdoc::html::render::cache` to `search_index`</title>
<updated>2021-12-28T02:42:13+00:00</updated>
<author>
<name>Noah Lev</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-12-28T02:39:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=60a1abe4c5b6399e62144fc94d236b6f7eefcdf0'/>
<id>urn:sha1:60a1abe4c5b6399e62144fc94d236b6f7eefcdf0</id>
<content type='text'>
The old name wasn't very clear, while the new one makes it clear that
this is the code responsible for creating the search index.
</content>
</entry>
<entry>
<title>fix clippy::single_char_pattern perf findings</title>
<updated>2021-12-14T11:40:28+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2021-12-13T21:58:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97e844a032c47d4b3e70d2043f809767e437ac24'/>
<id>urn:sha1:97e844a032c47d4b3e70d2043f809767e437ac24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove single-use `GenericParamDef::get_type` function</title>
<updated>2021-12-04T05:05:31+00:00</updated>
<author>
<name>Noah Lev</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-12-04T05:05:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=51ca2cc6affdfb32ba278a8f6c408a1149c053f7'/>
<id>urn:sha1:51ca2cc6affdfb32ba278a8f6c408a1149c053f7</id>
<content type='text'>
Rationale:

* The name was confusing.

* It was only used in one place.

* That place didn't actually need all the functionality of `get_type`;
  rather, removing `get_type` makes that code clearer.
</content>
</entry>
<entry>
<title>Rename `Type::ResolvedPath` to `Type::Path`</title>
<updated>2021-11-26T20:40:27+00:00</updated>
<author>
<name>Noah Lev</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-11-24T20:29:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=79c718f1d5916318b5d55e6c1391a438cae1f763'/>
<id>urn:sha1:79c718f1d5916318b5d55e6c1391a438cae1f763</id>
<content type='text'>
At last! The new name is shorter, simpler, and consistent with
`hir::Ty`.
</content>
</entry>
<entry>
<title>Stop re-exporting `Type::ResolvedPath`</title>
<updated>2021-11-25T20:08:05+00:00</updated>
<author>
<name>Noah Lev</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-11-24T20:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d81deb33fa8e9f03006b637fd0c035dc7acc5343'/>
<id>urn:sha1:d81deb33fa8e9f03006b637fd0c035dc7acc5343</id>
<content type='text'>
I would like to rename it to `Type::Path`, but then it can't be
re-exported since the name would conflict with the `Path` struct.
Usually enum variants are referred to using their qualified names in
Rust (and parts of rustdoc already do that with `clean::Type`), so this
is also more consistent with the language.
</content>
</entry>
<entry>
<title>Remove `ResolvedPath.did`</title>
<updated>2021-11-24T20:06:47+00:00</updated>
<author>
<name>Noah Lev</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-11-11T23:45:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43651125eea6284554e101aaf77af6e296f0b666'/>
<id>urn:sha1:43651125eea6284554e101aaf77af6e296f0b666</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: Record aliases as Symbols</title>
<updated>2021-11-20T02:58:25+00:00</updated>
<author>
<name>Noah Lev</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2021-11-20T02:54:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a65421651adfcd5123153a847c075b5a14465f1d'/>
<id>urn:sha1:a65421651adfcd5123153a847c075b5a14465f1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #90757 - GuillaumeGomez:search-index-performance, r=camelid</title>
<updated>2021-11-14T08:57:27+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-11-14T08:57:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6d387431e5457a9a3e185dc27b8416b6fcd78c88'/>
<id>urn:sha1:6d387431e5457a9a3e185dc27b8416b6fcd78c88</id>
<content type='text'>
Remove unneeded FIXMEs comments in search index generation

Original comment:

&gt; Instead of recreating a new `vec` for each arguments, we re-use the same. The impact on performance should be minor but worth a try.

After testing it, we reached the conclusion that the code readability drop wasn't worth the almost unnoticeable performance improvement.

r? `@camelid`
</content>
</entry>
<entry>
<title>Auto merge of #90883 - matthiaskrgr:rollup-iu9k5pe, r=matthiaskrgr</title>
<updated>2021-11-14T01:06:05+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-11-14T01:06:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=589ad6a5b7328867d08cbd16863e7f49e720f4d7'/>
<id>urn:sha1:589ad6a5b7328867d08cbd16863e7f49e720f4d7</id>
<content type='text'>
Rollup of 3 pull requests

Successful merges:

 - #90771 (Fix trait object error code)
 - #90840 (relate lifetime in `TypeOutlives` bounds on drop impls)
 - #90853 (rustdoc: Use an empty Vec instead of Option&lt;Vec&gt;)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>Auto merge of #90385 - mfrw:mfrw/librustdoc, r=GuillaumeGomez</title>
<updated>2021-11-13T20:11:58+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-11-13T20:11:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b416e3892d9526709f3a248f5ed3a43a970f795e'/>
<id>urn:sha1:b416e3892d9526709f3a248f5ed3a43a970f795e</id>
<content type='text'>
rustdoc: use Type::def_id() instead of Type::def_id_no_primitives()

For: #90187

r? `@jyn514`
</content>
</entry>
</feed>
