<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/render/mod.rs, branch 1.50.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.50.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.50.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-01-20T13:01:37+00:00</updated>
<entry>
<title>Fix bugs; fix and add tests</title>
<updated>2021-01-20T13:01:37+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2020-12-25T23:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c4494c60d247c12a064ae55775317f702b6a72c'/>
<id>urn:sha1:9c4494c60d247c12a064ae55775317f702b6a72c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: Render visibilities succinctly</title>
<updated>2021-01-20T13:01:37+00:00</updated>
<author>
<name>Camelid</name>
<email>camelidcamel@gmail.com</email>
</author>
<published>2020-12-25T19:48:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5a4852a113b234cb682ade697745320a77288363'/>
<id>urn:sha1:5a4852a113b234cb682ade697745320a77288363</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: Highlight edition-specific keywords correctly in code blocks, accounting for code block edition modifiers</title>
<updated>2020-12-24T18:46:17+00:00</updated>
<author>
<name>ThePuzzlemaker</name>
<email>tpzker@thepuzzlemaker.info</email>
</author>
<published>2020-12-20T07:34:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db1451c7ad08e77a17c59f6755f234ea507ead92'/>
<id>urn:sha1:db1451c7ad08e77a17c59f6755f234ea507ead92</id>
<content type='text'>
This is a squash of these commits:
- Highlight edition-specific keywords correctly in code blocks,
accounting for code block edition modifiers
- Fix unit tests
- Revert changes to rustc_span::symbol to prepare for merge of #80272
- Use new Symbol::is_reserved API from #80272
- Remove unused import added by accident when merging
</content>
</entry>
<entry>
<title>Auto merge of #80099 - jyn514:visibility-on-demand, r=GuillaumeGomez</title>
<updated>2020-12-23T06:39:15+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-12-23T06:39:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=28d73a3ee3e2c32f2768d1cbc9b42cb63472e9e9'/>
<id>urn:sha1:28d73a3ee3e2c32f2768d1cbc9b42cb63472e9e9</id>
<content type='text'>
Remove `DefPath` from `Visibility` and calculate it on demand

Depends on #80090 and should not be merged before. Helps with https://github.com/rust-lang/rust/issues/79103 and https://github.com/rust-lang/rust/issues/76382.

cc https://github.com/rust-lang/rust/pull/80014#issuecomment-746810284 - `@nnethercote` I figured it out! It was simpler than I expected :)

This brings the size of `clean::Visibility` down from 40 bytes to 8.

Note that this does *not* remove `clean::Visibility`, even though it's now basically the same as `ty::Visibility`, because the `Invsible` variant means something different from `Inherited` and I thought it would be be confusing to merge the two. See the new comments on `impl Clean for ty::Visibility` for details.
</content>
</entry>
<entry>
<title>Auto merge of #80095 - jyn514:stability-on-demand, r=GuillaumeGomez</title>
<updated>2020-12-23T03:35:32+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-12-23T03:35:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=18b745e9bf3e11ed658b0fc4eb7ddaa8e2178b39'/>
<id>urn:sha1:18b745e9bf3e11ed658b0fc4eb7ddaa8e2178b39</id>
<content type='text'>
[rustdoc] Calculate stability, const_stability, and deprecation on-demand

Previously, they would always be calculated ahead of time, which bloated the size of `clean::Item`.

Builds on https://github.com/rust-lang/rust/pull/80090 and should not be merged before. Helps with https://github.com/rust-lang/rust/issues/79103 and https://github.com/rust-lang/rust/issues/76382.

cc https://github.com/rust-lang/rust/pull/80014#issuecomment-746810284

This brings `Item` down to 568 bytes, down from 616.
</content>
</entry>
<entry>
<title>Auto merge of #80154 - GuillaumeGomez:str-to-symbol, r=jyn514</title>
<updated>2020-12-18T22:54:47+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-12-18T22:54:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=50a90975c0f78219db45d3bee0676a22695ec103'/>
<id>urn:sha1:50a90975c0f78219db45d3bee0676a22695ec103</id>
<content type='text'>
Continue String to Symbol conversion in rustdoc (2)

Follow-up of #80119.

This is the last one (and I actually expected more conversions but seems like it was the last one remaining...).

r? `@jyn514`
</content>
</entry>
<entry>
<title>Remove `DefPath` from `Visibility` and calculate it on demand</title>
<updated>2020-12-18T17:29:55+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jyn514@gmail.com</email>
</author>
<published>2020-12-16T23:10:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a2fb4b95ddda1c2d622c809e63aa5e158cfb9976'/>
<id>urn:sha1:a2fb4b95ddda1c2d622c809e63aa5e158cfb9976</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Calculate stability, const_stability, and deprecation on-demand</title>
<updated>2020-12-18T14:27:34+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jyn514@gmail.com</email>
</author>
<published>2020-12-16T20:54:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1523f67f16cb65da740d20b9853ce7f267579a7d'/>
<id>urn:sha1:1523f67f16cb65da740d20b9853ce7f267579a7d</id>
<content type='text'>
Previously, they would always be calculated ahead of time, which bloated
the size of `clean::Item`.
</content>
</entry>
<entry>
<title>Continue String to Symbol conversion in rustdoc</title>
<updated>2020-12-18T11:05:51+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2020-12-18T11:05:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=57266f1df6e9168f262b208f4a2ee62ebdaf9ad2'/>
<id>urn:sha1:57266f1df6e9168f262b208f4a2ee62ebdaf9ad2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #80090 - jyn514:tcx-in-render, r=GuillaumeGomez</title>
<updated>2020-12-18T08:44:50+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2020-12-18T08:44:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d8d3ab96aa94423f1bdfbb605098a506ab5edc7e'/>
<id>urn:sha1:d8d3ab96aa94423f1bdfbb605098a506ab5edc7e</id>
<content type='text'>
Pass a `TyCtxt` through to `FormatRender`

This is the next step after https://github.com/rust-lang/rust/pull/79957 for https://github.com/rust-lang/rust/issues/76382. Eventually I plan to use this to remove `stability`, `const_stability`, and `deprecation` from `Item`, but that needs more extensive changes (in particular, https://github.com/rust-lang/rust/pull/75355 or something like it).

This has no actual changes to behavior, it's just moving types around.

ccc https://github.com/rust-lang/rust/pull/80014#issuecomment-746810284
</content>
</entry>
</feed>
