File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_mir_transform/src/coverage Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ impl<'a> CoverageSpansGenerator<'a> {
343343 ) ;
344344 self . take_curr ( ) ; // Discards curr.
345345 } else {
346- self . hold_pending_dups_unless_dominated ( ) ;
346+ self . update_pending_dups ( ) ;
347347 }
348348 } else {
349349 self . cutoff_prev_at_overlapping_curr ( ) ;
@@ -573,7 +573,7 @@ impl<'a> CoverageSpansGenerator<'a> {
573573 /// neither `CoverageSpan` dominates the other, both (or possibly more than two) are held,
574574 /// until their disposition is determined. In this latter case, the `prev` dup is moved into
575575 /// `pending_dups` so the new `curr` dup can be moved to `prev` for the next iteration.
576- fn hold_pending_dups_unless_dominated ( & mut self ) {
576+ fn update_pending_dups ( & mut self ) {
577577 // Equal coverage spans are ordered by dominators before dominated (if any), so it should be
578578 // impossible for `curr` to dominate any previous `CoverageSpan`.
579579 debug_assert ! ( !self . span_bcb_dominates( self . curr( ) , self . prev( ) ) ) ;
You can’t perform that action at this time.
0 commit comments