about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-06-28 13:56:53 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2023-06-29 11:46:25 +1000
commitd20b1a8f6ba8ea753726fd70ce0e525f3bccffb9 (patch)
tree9c22bce8802babdff7d546cd5b8713a225744176 /compiler/rustc_codegen_llvm/src/builder.rs
parentf2d863fa75019791042722f8f9f58dbb13894d0a (diff)
downloadrust-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