]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #89998 - camelid:box-default, r=jyn514
authorbors <bors@rust-lang.org>
Thu, 21 Oct 2021 01:38:55 +0000 (01:38 +0000)
committerbors <bors@rust-lang.org>
Thu, 21 Oct 2021 01:38:55 +0000 (01:38 +0000)
commit4626184cafa827e13cc7a71b183a704ee0ec5930
tree83785939c69d0ac5b7da94fc237190cae8407f6c
parentefd0483949496b067cd5f7569d1b28cd3d5d3c72
parent90986897c597d76d86673de6e6d17c3d7e026df5
Auto merge of #89998 - camelid:box-default, r=jyn514

rustdoc: Box some fields of `GenericParamDefKind` to reduce size

This change shrinks `GenericParamDef` from 120 to 56 bytes. `GenericParamDef` is
used a lot, so the extra indirection should hopefully be worth the size savings.

r? `@ghost`
src/librustdoc/clean/types.rs