From 56c01255686ea66e04835447aa3971fd0d9807f5 Mon Sep 17 00:00:00 2001 From: Alexey Shmalko Date: Wed, 17 Apr 2019 12:03:39 +0300 Subject: Promote regular comments to rustdoc comments --- src/librustc_errors/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/librustc_errors') diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs index cb45e13c4d2..7da1a652553 100644 --- a/src/librustc_errors/lib.rs +++ b/src/librustc_errors/lib.rs @@ -304,17 +304,17 @@ pub struct Handler { continue_after_error: AtomicBool, delayed_span_bugs: Lock>, - // This set contains the `DiagnosticId` of all emitted diagnostics to avoid - // emitting the same diagnostic with extended help (`--teach`) twice, which - // would be uneccessary repetition. + /// This set contains the `DiagnosticId` of all emitted diagnostics to avoid + /// emitting the same diagnostic with extended help (`--teach`) twice, which + /// would be uneccessary repetition. taught_diagnostics: Lock>, /// Used to suggest rustc --explain emitted_diagnostic_codes: Lock>, - // 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 - // twice. + /// 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 + /// twice. emitted_diagnostics: Lock>, } -- cgit 1.4.1-3-g733a5