@@ -45,8 +45,7 @@ impl CoverageCounters {
45
45
basic_coverage_blocks : & mut CoverageGraph ,
46
46
coverage_spans : & [ CoverageSpan ] ,
47
47
) -> Result < Vec < CoverageKind > , Error > {
48
- let mut bcb_counters = BcbCounters :: new ( self , basic_coverage_blocks) ;
49
- bcb_counters. make_bcb_counters ( coverage_spans)
48
+ MakeBcbCounters :: new ( self , basic_coverage_blocks) . make_bcb_counters ( coverage_spans)
50
49
}
51
50
52
51
fn make_counter < F > ( & mut self , debug_block_label_fn : F ) -> CoverageKind
@@ -112,12 +111,12 @@ impl CoverageCounters {
112
111
/// injected with `CoverageSpan`s. `Expressions` have no runtime overhead, so if a viable expression
113
112
/// (adding or subtracting two other counters or expressions) can compute the same result as an
114
113
/// embedded counter, an `Expression` should be used.
115
- struct BcbCounters < ' a > {
114
+ struct MakeBcbCounters < ' a > {
116
115
coverage_counters : & ' a mut CoverageCounters ,
117
116
basic_coverage_blocks : & ' a mut CoverageGraph ,
118
117
}
119
118
120
- impl < ' a > BcbCounters < ' a > {
119
+ impl < ' a > MakeBcbCounters < ' a > {
121
120
fn new (
122
121
coverage_counters : & ' a mut CoverageCounters ,
123
122
basic_coverage_blocks : & ' a mut CoverageGraph ,
0 commit comments