Skip to content

Commit 99b1b0f

Browse files
committed
Fix incorrect comment.
1 parent ae9d24d commit 99b1b0f

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_errors/src

1 file changed

+1
-1
lines changed

compiler/rustc_errors/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ impl DiagCtxt {
12271227
// Note: we prefer implementing operations on `DiagCtxt`, rather than
12281228
// `DiagCtxtInner`, whenever possible. This minimizes functions where
12291229
// `DiagCtxt::foo()` just borrows `inner` and forwards a call to
1230-
// `HanderInner::foo`.
1230+
// `DiagCtxtInner::foo`.
12311231
impl DiagCtxtInner {
12321232
/// Emit all stashed diagnostics.
12331233
fn emit_stashed_diagnostics(&mut self) -> Option<ErrorGuaranteed> {

0 commit comments

Comments
 (0)