Skip to content

Commit b506cce

Browse files
committed
Fix an incorrect comment.
1 parent cd4c5cd commit b506cce

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_parse/src

1 file changed

+1
-1
lines changed

compiler/rustc_parse/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ rustc_fluent_macro::fluent_messages! { "../messages.ftl" }
3939
// uses a HOF to parse anything, and <source> includes file and
4040
// `source_str`.
4141

42-
/// A variant of 'panictry!' that works on a `Vec<Diagnostic>` instead of a single
42+
/// A variant of 'panictry!' that works on a `Vec<DiagnosticBuilder>` instead of a single
4343
/// `DiagnosticBuilder`.
4444
macro_rules! panictry_buffer {
4545
($e:expr) => {{

0 commit comments

Comments
 (0)