Skip to content

Commit

Permalink
Fix documentation of rustc_parse::parser::Parser::parse_stmt_without_…
Browse files Browse the repository at this point in the history
…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
Xiretza committed Aug 17, 2022
1 parent 86c6ebe commit d3bf103
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 d3bf103

Please sign in to comment.