mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Fix comment.
This commit is contained in:
parent
234019758b
commit
ffcfaa1105
@ -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…
Reference in New Issue
Block a user