We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae9d24d commit 99b1b0fCopy full SHA for 99b1b0f
compiler/rustc_errors/src/lib.rs
@@ -1227,7 +1227,7 @@ impl DiagCtxt {
1227
// Note: we prefer implementing operations on `DiagCtxt`, rather than
1228
// `DiagCtxtInner`, whenever possible. This minimizes functions where
1229
// `DiagCtxt::foo()` just borrows `inner` and forwards a call to
1230
-// `HanderInner::foo`.
+// `DiagCtxtInner::foo`.
1231
impl DiagCtxtInner {
1232
/// Emit all stashed diagnostics.
1233
fn emit_stashed_diagnostics(&mut self) -> Option<ErrorGuaranteed> {
0 commit comments