about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-10-09 16:15:23 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-10 18:28:29 +0200
commitadc24d1b5efb768a8e81ec5a26133f2351c4dd3f (patch)
treeae8bb697398251d09124a50624f6a3f100b88097 /compiler/rustc_parse
parent3416fa1882a9ea5b4d7c32b62afccbe9d01fb79a (diff)
downloadrust-adc24d1b5efb768a8e81ec5a26133f2351c4dd3f.tar.gz
rust-adc24d1b5efb768a8e81ec5a26133f2351c4dd3f.zip
Fix compiler docs
Diffstat (limited to 'compiler/rustc_parse')
-rw-r--r--compiler/rustc_parse/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/lib.rs b/compiler/rustc_parse/src/lib.rs
index 0bdfe10359c..3dcadb4c911 100644
--- a/compiler/rustc_parse/src/lib.rs
+++ b/compiler/rustc_parse/src/lib.rs
@@ -39,7 +39,8 @@ mod errors;
 // uses a HOF to parse anything, and <source> includes file and
 // `source_str`.
 
-/// A variant of 'panictry!' that works on a Vec<Diagnostic> instead of a single DiagnosticBuilder.
+/// A variant of 'panictry!' that works on a `Vec<Diagnostic>` instead of a single
+/// `DiagnosticBuilder`.
 macro_rules! panictry_buffer {
     ($handler:expr, $e:expr) => {{
         use rustc_errors::FatalError;