about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/infer
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_middle/src/infer
parent084ce5bdb5f7dc1c725f6770a8de281165ba3b0a (diff)
downloadrust-3856df059ed90b8fd19a82efbfb9da36f68e6bb9.tar.gz
rust-3856df059ed90b8fd19a82efbfb9da36f68e6bb9.zip
Dejargnonize subst
Diffstat (limited to 'compiler/rustc_middle/src/infer')
-rw-r--r--compiler/rustc_middle/src/infer/canonical.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/infer/canonical.rs b/compiler/rustc_middle/src/infer/canonical.rs
index e544c2a26e8..7b65c11bc3c 100644
--- a/compiler/rustc_middle/src/infer/canonical.rs
+++ b/compiler/rustc_middle/src/infer/canonical.rs
@@ -53,7 +53,7 @@ impl<'tcx> ty::TypeFoldable<TyCtxt<'tcx>> for CanonicalVarInfos<'tcx> {
 
 /// A set of values corresponding to the canonical variables from some
 /// `Canonical`. You can give these values to
-/// `canonical_value.substitute` to substitute them into the canonical
+/// `canonical_value.instantiate` to instantiate them into the canonical
 /// value at the right places.
 ///
 /// When you canonicalize a value `V`, you get back one of these