Skip to content

Commit

Permalink
Rollup merge of #100670 - Xiretza:parser-stmt-force-collect-docs, r=d…
Browse files Browse the repository at this point in the history
…avidtwco

Fix documentation of rustc_parse::parser::Parser::parse_stmt_without_recovery

Something seems to have gotten out of sync during the creation of #81177, where both the argument and comment were introduced.
  • Loading branch information
matthiaskrgr authored Aug 18, 2022
2 parents 3e057d1 + d3bf103 commit 5548e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_parse/src/parser/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl<'a> Parser<'a> {
}))
}

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

0 comments on commit 5548e58

Please sign in to comment.