Skip to content

Commit

Permalink
Auto merge of rust-lang#93963 - GuillaumeGomez:reduce-clean-type-size…
Browse files Browse the repository at this point in the history
…, 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 rust-lang#93941.

r? `@camelid`
  • Loading branch information
bors committed May 21, 2022
2 parents 4f372b1 + 2e1369c commit 5f33adc
Show file tree
Hide file tree
Showing 3 changed files with 213 additions and 206 deletions.
Loading

0 comments on commit 5f33adc

Please sign in to comment.