Skip to content

Commit 1558852

Browse files
committed
Fix an incorrect comment.
1 parent 697dd81 commit 1558852

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

Lines changed: 1 addition & 1 deletion
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)