File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -304,17 +304,17 @@ pub struct Handler {
304304 continue_after_error : AtomicBool ,
305305 delayed_span_bugs : Lock < Vec < Diagnostic > > ,
306306
307- // This set contains the `DiagnosticId` of all emitted diagnostics to avoid
308- // emitting the same diagnostic with extended help (`--teach`) twice, which
309- // would be uneccessary repetition.
307+ /// This set contains the `DiagnosticId` of all emitted diagnostics to avoid
308+ /// emitting the same diagnostic with extended help (`--teach`) twice, which
309+ /// would be uneccessary repetition.
310310 taught_diagnostics : Lock < FxHashSet < DiagnosticId > > ,
311311
312312 /// Used to suggest rustc --explain <error code>
313313 emitted_diagnostic_codes : Lock < FxHashSet < DiagnosticId > > ,
314314
315- // This set contains a hash of every diagnostic that has been emitted by
316- // this handler. These hashes is used to avoid emitting the same error
317- // twice.
315+ /// This set contains a hash of every diagnostic that has been emitted by
316+ /// this handler. These hashes is used to avoid emitting the same error
317+ /// twice.
318318 emitted_diagnostics : Lock < FxHashSet < u128 > > ,
319319}
320320
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ enum QueryModifier {
5555 /// Generate a dep node based on the dependencies of the query
5656 Anon ,
5757
58- // Always evaluate the query, ignoring its depdendencies
58+ /// Always evaluate the query, ignoring its depdendencies
5959 EvalAlways ,
6060}
6161
You can’t perform that action at this time.
0 commit comments