about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-02 00:12:21 +0000
committerbors <bors@rust-lang.org>2021-09-02 00:12:21 +0000
commite3c71f1e33b026dea7c9ca7c1c4554e63f56a0da (patch)
treebef0127f5d8e5b5a78ed15be224ba9437c1e39e7 /library/std/src
parent767edcf61630ee05a19e2be9085a153750b4d102 (diff)
parent280e16787e6a9bd769754f29c37c045bc18016f4 (diff)
downloadrust-e3c71f1e33b026dea7c9ca7c1c4554e63f56a0da.tar.gz
rust-e3c71f1e33b026dea7c9ca7c1c4554e63f56a0da.zip
Auto merge of #88522 - camelid:box-paren-output, r=jyn514
rustdoc: Box `GenericArgs::Parenthesized.output`

Split out from #88379.

This reduces the size of `GenericArgs` from 104 bytes to 56 bytes,
essentially reducing it by half.

`GenericArgs` is one of the fields of `PathSegment`, so this should
reduce the amount of memory allocated for `PathSegment`s in the cases
where the generics are not for a `Fn`, `FnMut`, or `FnOnce` trait.

r? `@jyn514`
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions