mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
add_retag: fix comment that does not match the code
This commit is contained in:
parent
b054da8155
commit
1678c5c328
@ -118,7 +118,7 @@ impl<'tcx> MirPass<'tcx> for AddRetag {
|
||||
}
|
||||
|
||||
// PART 3
|
||||
// Add retag after assignments where data "enters" this function: the RHS is behind a deref and the LHS is not.
|
||||
// Add retag after assignments.
|
||||
for block_data in basic_blocks {
|
||||
// We want to insert statements as we iterate. To this end, we
|
||||
// iterate backwards using indices.
|
||||
|
Loading…
Reference in New Issue
Block a user