Fix incorrect comment.

This commit is contained in:
Nicholas Nethercote 2024-01-05 17:19:37 +11:00
parent ae9d24de80
commit 99b1b0f85c

View file

@ -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> {