Skip to content

Commit 56c0125

Browse files
committed
Promote regular comments to rustdoc comments
1 parent 7bf33f0 commit 56c0125

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/librustc_errors/lib.rs

+6-6
Original file line numberDiff line numberDiff 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

src/librustc_macros/src/query.rs

+1-1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)