rust/src/librustdoc/clean
bors 5f33adce1b Auto merge of #93963 - GuillaumeGomez:reduce-clean-type-size, r=notriddle
rustdoc: Reduce clean::Type size

There is no need to keep the `DefId` around since it's allow used to compute if we should show a cast or not. As such, we can simply directly store the boolean.

I think it's not what you had in mind `@camelid` but I guess it's still an improvement? 😉

It was discussed in https://github.com/rust-lang/rust/pull/93941.

r? `@camelid`
2022-05-21 09:04:05 +00:00
..
cfg clarify doc(cfg) wording 2022-04-14 21:12:13 -04:00
types rustdoc: Unindent doc fragments on Attributes construction 2022-04-21 16:13:02 +03:00
utils Valid underscores in hex/octal/binary literal docs 2021-05-03 20:11:09 -04:00
auto_trait.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
blanket_impl.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
cfg.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
inline.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
mod.rs Auto merge of #93963 - GuillaumeGomez:reduce-clean-type-size, r=notriddle 2022-05-21 09:04:05 +00:00
render_macro_matchers.rs rustc_ast: Harmonize delimiter naming with proc_macro::Delimiter 2022-04-28 10:04:29 +03:00
simplify.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
types.rs Auto merge of #93963 - GuillaumeGomez:reduce-clean-type-size, r=notriddle 2022-05-21 09:04:05 +00:00
utils.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00