about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2020-05-20 20:45:05 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2020-06-09 07:55:35 +1000
commitc9cbe7e7eb37ec06a9c76a6b9ca4d342ff5a1128 (patch)
tree2ddc496c603292895b104ebdfc8f62895491e8f9 /src/rustllvm/RustWrapper.cpp
parentcb8bc8e05dbb96069d6c66145ac2f37cb16a618d (diff)
downloadrust-c9cbe7e7eb37ec06a9c76a6b9ca4d342ff5a1128.tar.gz
rust-c9cbe7e7eb37ec06a9c76a6b9ca4d342ff5a1128.zip
Rename some identifiers in `RawVec` and `libarena`.
- Use `len` more consistently for the number of elements in a vector,
  because that's the usual name.
- Use `additional` more consistently for the number of elements we want
  to add, because that's what `Vec::reserve()` uses.
- Use `cap` consistently rather than `capacity`.
- Plus a few other tweaks.

This increases consistency and conciseness.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions