Skip to content

Commit d585ec8

Browse files
committed
Fix incorrect comment.
1 parent ca663b0 commit d585ec8

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

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

0 commit comments

Comments
 (0)