Skip to content

Commit 1678c5c

Browse files
committed
add_retag: fix comment that does not match the code
1 parent b054da8 commit 1678c5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/add_retag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl<'tcx> MirPass<'tcx> for AddRetag {
118118
}
119119

120120
// PART 3
121-
// Add retag after assignments where data "enters" this function: the RHS is behind a deref and the LHS is not.
121+
// Add retag after assignments.
122122
for block_data in basic_blocks {
123123
// We want to insert statements as we iterate. To this end, we
124124
// iterate backwards using indices.

0 commit comments

Comments
 (0)