diff options
| author | Michael Howell <michael@notriddle.com> | 2024-07-26 23:47:09 -0700 | 
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-07-27 00:10:52 -0700 | 
| commit | 3abf0ba4fca59894b2b7fcafde347a3497c22e85 (patch) | |
| tree | 91dac7ece7c9702f42e783bfbeba3e780add5e72 /src/librustdoc/fold.rs | |
| parent | a526d7ce45fd2284e0e7c7556ccba2425b9d25e5 (diff) | |
| download | rust-3abf0ba4fca59894b2b7fcafde347a3497c22e85.tar.gz rust-3abf0ba4fca59894b2b7fcafde347a3497c22e85.zip | |
rustdoc: use strategic ThinVec/Box to shrink `clean::ItemKind`
Diffstat (limited to 'src/librustdoc/fold.rs')
| -rw-r--r-- | src/librustdoc/fold.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/librustdoc/fold.rs b/src/librustdoc/fold.rs index 346e9a4e113..beb7686e29c 100644 --- a/src/librustdoc/fold.rs +++ b/src/librustdoc/fold.rs @@ -79,7 +79,7 @@ pub(crate) trait DocFolder: Sized { | FunctionItem(_) | OpaqueTyItem(_) | StaticItem(_) - | ConstantItem(_, _, _) + | ConstantItem(..) | TraitAliasItem(_) | TyMethodItem(_) | MethodItem(_, _) | 
