about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-04-28 16:15:18 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-04-29 15:00:32 +1000
commit5a05b614bf3c837f0984ff3a1d6d3e357ac6d1bd (patch)
tree1cf27e5a9f465184a337bd2856c6c280797a2f34 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentbaaa3b682986879c7784b5733ecea942e9ae7de3 (diff)
downloadrust-5a05b614bf3c837f0984ff3a1d6d3e357ac6d1bd.tar.gz
rust-5a05b614bf3c837f0984ff3a1d6d3e357ac6d1bd.zip
Tweak `print_attr_item`.
This commit rearranges the `match`. The new code avoids testing for
`MacArgs::Eq` twice, at the cost of repeating the `self.print_path()`
call. I think this is worthwhile because it puts the `match` in a more
standard and readable form.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions