about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow
diff options
context:
space:
mode:
authorJannis Christopher Köhl <mail@koehl.dev>2022-09-27 17:30:50 +0200
committerJannis Christopher Köhl <mail@koehl.dev>2022-11-07 10:35:18 +0100
commitc56e99cdba2dc969902005fc495c12f13b9eb2e1 (patch)
tree4a6927d9d4800cea650ffbdb95281c05f0bb0e81 /compiler/rustc_mir_dataflow
parent97a69a76705e76ac59d054ebfde5ddc954237a75 (diff)
downloadrust-c56e99cdba2dc969902005fc495c12f13b9eb2e1.tar.gz
rust-c56e99cdba2dc969902005fc495c12f13b9eb2e1.zip
Fix typo
Diffstat (limited to 'compiler/rustc_mir_dataflow')
-rw-r--r--compiler/rustc_mir_dataflow/src/value_analysis.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/value_analysis.rs b/compiler/rustc_mir_dataflow/src/value_analysis.rs
index 05285e460eb..55b1185acd3 100644
--- a/compiler/rustc_mir_dataflow/src/value_analysis.rs
+++ b/compiler/rustc_mir_dataflow/src/value_analysis.rs
@@ -174,7 +174,7 @@ pub trait ValueAnalysis<'tcx> {
                 ValueOrPlace::Value(self.handle_constant(constant, state))
             }
             Operand::Copy(place) | Operand::Move(place) => {
-                // Do want want to handle moves different? Could flood place with bottom.
+                // Do we want to handle moves differently? Could flood place with bottom.
                 self.map()
                     .find(place.as_ref())
                     .map(ValueOrPlace::Place)