Skip to content

Commit ffcfaa1

Browse files
Fix comment.
1 parent 2340197 commit ffcfaa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/mir-dataflow/liveness-projection.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn foo() {
2121
{
2222
let mut x = 42;
2323

24-
// Derefs are treated like a read of a local even if they are on the RHS of an assignment.
24+
// Derefs are treated like a read of a local even if they are on the LHS of an assignment.
2525
let p = &mut x;
2626
unsafe { rustc_peek(&p); }
2727
*p = 24;

0 commit comments

Comments
 (0)