Skip to content

Commit 0edf07f

Browse files
committed
break -> continue
1 parent 64d2630 commit 0edf07f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,8 +974,8 @@ impl SourceMap {
974974

975975
if right_range.end >= left_range.end {
976976
// There are surely no more `right_ranges` for this `left_range`.
977-
// Break the loop without advancing the `right_range`.
978-
break;
977+
// Continue to the next `left_range` without advancing the `right_range`.
978+
continue;
979979
} else {
980980
// Advance the `right_range`.
981981
match right_ranges_iter.next() {

0 commit comments

Comments
 (0)