From 56ff16d19f2a34eaf54bf30a2d71e6924ca1bff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannis=20Christopher=20K=C3=B6hl?= Date: Mon, 29 Aug 2022 23:03:30 +0200 Subject: [PATCH] Fix spelling --- compiler/rustc_mir_dataflow/src/value_analysis.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_mir_dataflow/src/value_analysis.rs b/compiler/rustc_mir_dataflow/src/value_analysis.rs index 71e430acaa4e..15aa605021c8 100644 --- a/compiler/rustc_mir_dataflow/src/value_analysis.rs +++ b/compiler/rustc_mir_dataflow/src/value_analysis.rs @@ -41,7 +41,7 @@ pub trait ValueAnalysis<'tcx> { self.handle_assign(*place, rvalue, state); } StatementKind::SetDiscriminant { .. } => { - // Could tread this as writing a constant to a pseudo-place. + // Could treat this as writing a constant to a pseudo-place. } StatementKind::CopyNonOverlapping(..) => { // FIXME: What to do here?