Promote regular comments to rustdoc comments

This commit is contained in:
Alexey Shmalko 2019-04-17 12:03:39 +03:00
parent 7bf33f00bf
commit 56c0125568
No known key found for this signature in database
GPG key ID: DCEF7BCCEB3066C3
2 changed files with 7 additions and 7 deletions

View file

@ -304,17 +304,17 @@ pub struct Handler {
continue_after_error: AtomicBool, continue_after_error: AtomicBool,
delayed_span_bugs: Lock<Vec<Diagnostic>>, delayed_span_bugs: Lock<Vec<Diagnostic>>,
// This set contains the `DiagnosticId` of all emitted diagnostics to avoid /// This set contains the `DiagnosticId` of all emitted diagnostics to avoid
// emitting the same diagnostic with extended help (`--teach`) twice, which /// emitting the same diagnostic with extended help (`--teach`) twice, which
// would be uneccessary repetition. /// would be uneccessary repetition.
taught_diagnostics: Lock<FxHashSet<DiagnosticId>>, taught_diagnostics: Lock<FxHashSet<DiagnosticId>>,
/// Used to suggest rustc --explain <error code> /// Used to suggest rustc --explain <error code>
emitted_diagnostic_codes: Lock<FxHashSet<DiagnosticId>>, emitted_diagnostic_codes: Lock<FxHashSet<DiagnosticId>>,
// This set contains a hash of every diagnostic that has been emitted by /// This set contains a hash of every diagnostic that has been emitted by
// this handler. These hashes is used to avoid emitting the same error /// this handler. These hashes is used to avoid emitting the same error
// twice. /// twice.
emitted_diagnostics: Lock<FxHashSet<u128>>, emitted_diagnostics: Lock<FxHashSet<u128>>,
} }

View file

@ -55,7 +55,7 @@ enum QueryModifier {
/// Generate a dep node based on the dependencies of the query /// Generate a dep node based on the dependencies of the query
Anon, Anon,
// Always evaluate the query, ignoring its depdendencies /// Always evaluate the query, ignoring its depdendencies
EvalAlways, EvalAlways,
} }