diff options
| author | Michael Howell <michael@notriddle.com> | 2024-01-08 12:00:40 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2024-01-08 12:00:40 -0700 |
| commit | e61be1bfae982b991828d3edd64a0eaea8bc2d55 (patch) | |
| tree | 77d490a8546622993064e5dc6df9d64969066721 /compiler/rustc_interface/src/errors.rs | |
| parent | 0ee9cfd54db7b5f4be35f026588904500c866196 (diff) | |
| download | rust-e61be1bfae982b991828d3edd64a0eaea8bc2d55.tar.gz rust-e61be1bfae982b991828d3edd64a0eaea8bc2d55.zip | |
rustdoc-search: reuse empty map/array in function signatures
Map is implemented as a pointer to a mutable object. Rustdoc never mutates function signatures after constructing them, but the JS engine doesn't know that. To save a bunch of memory, use a single immutable map for every decoded type object with no bindings or generics.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
