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 @@ -342,7 +342,7 @@ impl<'a> CoverageSpansGenerator<'a> {
342342 ) ;
343343 self . take_curr ( ) ; // Discards curr.
344344 } else {
345- self . hold_pending_dups_unless_dominated ( ) ;
345+ self . update_pending_dups ( ) ;
346346 }
347347 } else {
348348 self . cutoff_prev_at_overlapping_curr ( ) ;
@@ -565,7 +565,7 @@ impl<'a> CoverageSpansGenerator<'a> {
565565 /// neither `CoverageSpan` dominates the other, both (or possibly more than two) are held,
566566 /// until their disposition is determined. In this latter case, the `prev` dup is moved into
567567 /// `pending_dups` so the new `curr` dup can be moved to `prev` for the next iteration.
568- fn hold_pending_dups_unless_dominated ( & mut self ) {
568+ fn update_pending_dups ( & mut self ) {
569569 // Equal coverage spans are ordered by dominators before dominated (if any), so it should be
570570 // impossible for `curr` to dominate any previous `CoverageSpan`.
571571 debug_assert ! ( !self . span_bcb_dominates( self . curr( ) , self . prev( ) ) ) ;
You can’t perform that action at this time.
0 commit comments