diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-06-28 13:56:53 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-06-29 11:46:25 +1000 |
| commit | d20b1a8f6ba8ea753726fd70ce0e525f3bccffb9 (patch) | |
| tree | 9c22bce8802babdff7d546cd5b8713a225744176 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | f2d863fa75019791042722f8f9f58dbb13894d0a (diff) | |
| download | rust-d20b1a8f6ba8ea753726fd70ce0e525f3bccffb9.tar.gz rust-d20b1a8f6ba8ea753726fd70ce0e525f3bccffb9.zip | |
Set capacity of the string passed to `push_item_name`.
Other callsites already do this, but these two were missed. This avoids some allocations.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
