Skip to content

Commit d8c9d70

Browse files
committed
Fix comment wording in simplify_comparison_integral.rs
Signed-off-by: zjumathcode <[email protected]>
1 parent c871d09 commit d8c9d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/simplify_comparison_integral.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl<'tcx> crate::MirPass<'tcx> for SimplifyComparisonIntegral {
7474
}
7575

7676
// delete comparison statement if it the value being switched on was moved, which means
77-
// it can not be user later on
77+
// it can not be used later on
7878
if opt.can_remove_bin_op_stmt {
7979
bb.statements[opt.bin_op_stmt_idx].make_nop(true);
8080
} else {

0 commit comments

Comments
 (0)