about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/noop_method_call.rs
diff options
context:
space:
mode:
authorYuri Astrakhan <YuriAstrakhan@gmail.com>2022-03-30 15:14:15 -0400
committerYuri Astrakhan <YuriAstrakhan@gmail.com>2022-03-30 15:14:15 -0400
commit5160f8f843e1dbd43cf341cc8aa5d917d22c98b9 (patch)
tree98f378da3bf249dd192f6b9048a81c86238b6e91 /compiler/rustc_lint/src/noop_method_call.rs
parent3e7514670db841a7f0d7656f3b13b1c8b2c11599 (diff)
downloadrust-5160f8f843e1dbd43cf341cc8aa5d917d22c98b9.tar.gz
rust-5160f8f843e1dbd43cf341cc8aa5d917d22c98b9.zip
Spellchecking compiler comments
This PR cleans up the rest of the spelling mistakes in the compiler comments. This PR does not change any literal or code spelling issues.
Diffstat (limited to 'compiler/rustc_lint/src/noop_method_call.rs')
-rw-r--r--compiler/rustc_lint/src/noop_method_call.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/noop_method_call.rs b/compiler/rustc_lint/src/noop_method_call.rs
index 5d734fd2ba7..675bee738a6 100644
--- a/compiler/rustc_lint/src/noop_method_call.rs
+++ b/compiler/rustc_lint/src/noop_method_call.rs
@@ -64,7 +64,7 @@ impl<'tcx> LateLintPass<'tcx> for NoopMethodCall {
         let substs = cx.typeck_results().node_substs(expr.hir_id);
         if substs.needs_subst() {
             // We can't resolve on types that require monomorphization, so we don't handle them if
-            // we need to perfom substitution.
+            // we need to perform substitution.
             return;
         }
         let param_env = cx.tcx.param_env(trait_id);