about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/coherence/builtin.rs
diff options
context:
space:
mode:
authorShoyu Vanilla <modulo641@gmail.com>2024-02-12 15:39:32 +0900
committerShoyu Vanilla <modulo641@gmail.com>2024-02-12 15:46:35 +0900
commit3856df059ed90b8fd19a82efbfb9da36f68e6bb9 (patch)
tree7a43e8e838ec0c6fc06a3e9f9b77c4e77246f179 /compiler/rustc_hir_analysis/src/coherence/builtin.rs
parent084ce5bdb5f7dc1c725f6770a8de281165ba3b0a (diff)
downloadrust-3856df059ed90b8fd19a82efbfb9da36f68e6bb9.tar.gz
rust-3856df059ed90b8fd19a82efbfb9da36f68e6bb9.zip
Dejargnonize subst
Diffstat (limited to 'compiler/rustc_hir_analysis/src/coherence/builtin.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/coherence/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/coherence/builtin.rs b/compiler/rustc_hir_analysis/src/coherence/builtin.rs
index 5a387844593..7d551fbf035 100644
--- a/compiler/rustc_hir_analysis/src/coherence/builtin.rs
+++ b/compiler/rustc_hir_analysis/src/coherence/builtin.rs
@@ -396,7 +396,7 @@ pub fn coerce_unsized_info<'tcx>(
             //
             // To check if this impl is legal, we would walk down
             // the fields of `Foo` and consider their types with
-            // both substitutes. We are looking to find that
+            // both generic parameters. We are looking to find that
             // exactly one (non-phantom) field has changed its
             // type, which we will expect to be the pointer that
             // is becoming fat (we could probably generalize this