about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorecstatic-morse <ecstaticmorse@gmail.com>2020-06-27 12:57:00 -0700
committerGitHub <noreply@github.com>2020-06-27 12:57:00 -0700
commitffcfaa11055a2ec65d326003da41da24d7a7d66c (patch)
treefb0acbc1cad02c85355f36d8707681195f87cd7a /src
parent234019758bfff600e8972481158882d9e12280cf (diff)
downloadrust-ffcfaa11055a2ec65d326003da41da24d7a7d66c.tar.gz
rust-ffcfaa11055a2ec65d326003da41da24d7a7d66c.zip
Fix comment.
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/mir-dataflow/liveness-projection.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/mir-dataflow/liveness-projection.rs b/src/test/ui/mir-dataflow/liveness-projection.rs
index ed571027dbd..486f31b635d 100644
--- a/src/test/ui/mir-dataflow/liveness-projection.rs
+++ b/src/test/ui/mir-dataflow/liveness-projection.rs
@@ -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;