about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_mir/transform/const_prop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/transform/const_prop.rs b/src/librustc_mir/transform/const_prop.rs
index badca105694..5cbee929019 100644
--- a/src/librustc_mir/transform/const_prop.rs
+++ b/src/librustc_mir/transform/const_prop.rs
@@ -92,7 +92,7 @@ impl<'tcx> MirPass<'tcx> for ConstProp {
         //
         // We manually filter the predicates, skipping anything that's not
         // "global". We are in a potentially generic context
-        // (e.g. we are evaluating a function without substituging generic
+        // (e.g. we are evaluating a function without substituting generic
         // parameters, so this filtering serves two purposes:
         //
         // 1. We skip evaluating any predicates that we would