Skip to content

Commit 6ce90a8

Browse files
authored
Rollup merge of rust-lang#100670 - Xiretza:parser-stmt-force-collect-docs, r=davidtwco
Fix documentation of rustc_parse::parser::Parser::parse_stmt_without_recovery Something seems to have gotten out of sync during the creation of rust-lang#81177, where both the argument and comment were introduced.
2 parents 708bad6 + d3bf103 commit 6ce90a8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

compiler/rustc_parse/src/parser/stmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl<'a> Parser<'a> {
3434
}))
3535
}
3636

37-
/// If `force_capture` is true, forces collection of tokens regardless of whether
37+
/// If `force_collect` is [`ForceCollect::Yes`], forces collection of tokens regardless of whether
3838
/// or not we have attributes
3939
pub(crate) fn parse_stmt_without_recovery(
4040
&mut self,

0 commit comments

Comments
 (0)