Skip to content

Commit 1b59db4

Browse files
authored
Rollup merge of rust-lang#97336 - tshepang:typo, r=cjgillot
typo
2 parents 9845a41 + b96e5c6 commit 1b59db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_interface/src/callbacks.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn track_span_parent(def_id: rustc_span::def_id::LocalDefId) {
2424
}
2525

2626
/// This is a callback from `rustc_ast` as it cannot access the implicit state
27-
/// in `rustc_middle` otherwise. It is used to when diagnostic messages are
27+
/// in `rustc_middle` otherwise. It is used when diagnostic messages are
2828
/// emitted and stores them in the current query, if there is one.
2929
fn track_diagnostic(diagnostic: &Diagnostic) {
3030
tls::with_context_opt(|icx| {

0 commit comments

Comments
 (0)