about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-01-05 17:19:37 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-01-10 07:17:55 +1100
commit99b1b0f85c876880cd4da86fee3761e4d09d9463 (patch)
tree08450e7ea1173d133fff7772bd91a22e9a2796b4 /compiler/rustc_errors/src
parentae9d24de80b00b4158d1a29a212a6b02aeda0e75 (diff)
downloadrust-99b1b0f85c876880cd4da86fee3761e4d09d9463.tar.gz
rust-99b1b0f85c876880cd4da86fee3761e4d09d9463.zip
Fix incorrect comment.
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 76b7e0d79a9..9a5e73536fe 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -1227,7 +1227,7 @@ impl DiagCtxt {
 // Note: we prefer implementing operations on `DiagCtxt`, rather than
 // `DiagCtxtInner`, whenever possible. This minimizes functions where
 // `DiagCtxt::foo()` just borrows `inner` and forwards a call to
-// `HanderInner::foo`.
+// `DiagCtxtInner::foo`.
 impl DiagCtxtInner {
     /// Emit all stashed diagnostics.
     fn emit_stashed_diagnostics(&mut self) -> Option<ErrorGuaranteed> {