about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/instance.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2024-11-20 11:59:52 +0100
committerlcnr <rust@lcnr.de>2024-11-23 13:52:56 +0100
commita8c8ab1acd0f7a2d8c88ea90f91fad2e1f2092c4 (patch)
tree3333cd5dd19f9edd25a657f593b31d3e7d596665 /compiler/rustc_middle/src/ty/instance.rs
parent319843d8cd84ee1ec753f836ce3773d44fe0764b (diff)
downloadrust-a8c8ab1acd0f7a2d8c88ea90f91fad2e1f2092c4.tar.gz
rust-a8c8ab1acd0f7a2d8c88ea90f91fad2e1f2092c4.zip
remove remaining references to `Reveal`
Diffstat (limited to 'compiler/rustc_middle/src/ty/instance.rs')
-rw-r--r--compiler/rustc_middle/src/ty/instance.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/ty/instance.rs b/compiler/rustc_middle/src/ty/instance.rs
index dab3e18de33..73fd8aa5b6c 100644
--- a/compiler/rustc_middle/src/ty/instance.rs
+++ b/compiler/rustc_middle/src/ty/instance.rs
@@ -504,8 +504,8 @@ impl<'tcx> Instance<'tcx> {
     /// ```
     ///
     /// trying to resolve `Debug::fmt` applied to `T` will yield `Ok(None)`, because we do not
-    /// know what code ought to run. (Note that this setting is also affected by the
-    /// `RevealMode` in the parameter environment.)
+    /// know what code ought to run. This setting is also affected by the current `TypingMode`
+    /// of the environment.
     ///
     /// Presuming that coherence and type-check have succeeded, if this method is invoked
     /// in a monomorphic context (i.e., like during codegen), then it is guaranteed to return