Skip to content

Commit 3fffdf9

Browse files
committed
Factor out a duplicated statement.
1 parent 8f2ab7f commit 3fffdf9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler/rustc_mir_dataflow/src/framework/direction.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ impl Direction for Backward {
119119
analysis.apply_switch_int_edge_effect(&mut data, &mut tmp, si_target);
120120
propagate(pred, &tmp);
121121
}
122-
propagate(pred, exit_state);
123-
} else {
124-
propagate(pred, exit_state)
125122
}
123+
propagate(pred, exit_state);
126124
}
127125

128126
_ => propagate(pred, exit_state),

0 commit comments

Comments
 (0)