Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstatic-morse authored Jun 27, 2020
1 parent 2340197 commit ffcfaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/mir-dataflow/liveness-projection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn foo() {
{
let mut x = 42;

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

0 comments on commit ffcfaa1

Please sign in to comment.