Fix comment.
This commit is contained in:
parent
234019758b
commit
ffcfaa1105
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue