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 ( ) ;
@@ -570,7 +570,7 @@ impl<'a> CoverageSpansGenerator<'a> {
570570 /// neither `CoverageSpan` dominates the other, both (or possibly more than two) are held,
571571 /// until their disposition is determined. In this latter case, the `prev` dup is moved into
572572 /// `pending_dups` so the new `curr` dup can be moved to `prev` for the next iteration.
573- fn hold_pending_dups_unless_dominated ( & mut self ) {
573+ fn update_pending_dups ( & mut self ) {
574574 // Equal coverage spans are ordered by dominators before dominated (if any), so it should be
575575 // impossible for `curr` to dominate any previous `CoverageSpan`.
576576 debug_assert ! ( !self . span_bcb_dominates( self . curr( ) , self . prev( ) ) ) ;
You can’t perform that action at this time.
0 commit comments