about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-11-03 11:31:07 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-11-03 11:58:11 +1100
commitf32e6781b2932aed55342ad8a4a7f1023acb30b4 (patch)
treeef7aa0f3de2a88b89f110d201a990b2890150213 /src/test/debuginfo/enum-thinlto.rs
parentd726c8467c06088d5d4488edf6b015ec9698c1ea (diff)
downloadrust-f32e6781b2932aed55342ad8a4a7f1023acb30b4.tar.gz
rust-f32e6781b2932aed55342ad8a4a7f1023acb30b4.zip
Rename some variables.
These have been bugging me for a while.

- `literal_text`: `src` is also used and is shorter and better.
- `first_char`: used even when "first" doesn't make sense; `c` is
  shorter and better.
- `curr`: `c` is shorter and better.
- `unescaped_char`: `result` is also used and is shorter and better.
- `second_char`: these have a single use and can be elided.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions