Skip to content

Commit 703b042

Browse files
authored
Rollup merge of rust-lang#131918 - Zalathar:counters, r=nnethercote
coverage: Make counter creation handle node/edge counters more uniformly Similar to rust-lang#130380, this is another round of small improvements informed by my ongoing attempts to overhaul coverage counter creation. One of the big benefits is getting rid of the awkward special-case that would sometimes attach an edge counter to a node instead. That was needed by the code that chooses which out-edge should be given a counter expression, but we can avoid that by making the corresponding check a little smarter. I've also renamed several things to be simpler and more consistent, which should help with future changes.
2 parents 1de57a5 + 4b8f7f5 commit 703b042

File tree

1 file changed

+107
-117
lines changed

1 file changed

+107
-117
lines changed

0 commit comments

Comments
 (0)