about summary refs log tree commit diff
path: root/compiler/stable_mir/src/mir/mono.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/stable_mir/src/mir/mono.rs')
-rw-r--r--compiler/stable_mir/src/mir/mono.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stable_mir/src/mir/mono.rs b/compiler/stable_mir/src/mir/mono.rs
index 6c791ae8552..97f57d2c7b3 100644
--- a/compiler/stable_mir/src/mir/mono.rs
+++ b/compiler/stable_mir/src/mir/mono.rs
@@ -57,7 +57,7 @@ impl Instance {
         with(|cx| cx.is_foreign_item(self.def.def_id()))
     }
 
-    /// Get the instance type with generic substitutions applied and lifetimes erased.
+    /// Get the instance type with generic instantiations applied and lifetimes erased.
     pub fn ty(&self) -> Ty {
         with(|context| context.instance_ty(self.def))
     }