Fix incorrect comment.
This commit is contained in:
parent
ae9d24de80
commit
99b1b0f85c
1 changed files with 1 additions and 1 deletions
|
@ -1227,7 +1227,7 @@ impl DiagCtxt {
|
||||||
// Note: we prefer implementing operations on `DiagCtxt`, rather than
|
// Note: we prefer implementing operations on `DiagCtxt`, rather than
|
||||||
// `DiagCtxtInner`, whenever possible. This minimizes functions where
|
// `DiagCtxtInner`, whenever possible. This minimizes functions where
|
||||||
// `DiagCtxt::foo()` just borrows `inner` and forwards a call to
|
// `DiagCtxt::foo()` just borrows `inner` and forwards a call to
|
||||||
// `HanderInner::foo`.
|
// `DiagCtxtInner::foo`.
|
||||||
impl DiagCtxtInner {
|
impl DiagCtxtInner {
|
||||||
/// Emit all stashed diagnostics.
|
/// Emit all stashed diagnostics.
|
||||||
fn emit_stashed_diagnostics(&mut self) -> Option<ErrorGuaranteed> {
|
fn emit_stashed_diagnostics(&mut self) -> Option<ErrorGuaranteed> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue