Rollup merge of #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 #81177, where both the argument and comment were introduced.
This commit is contained in:
Matthias Krüger 2022-08-18 05:10:49 +02:00 committed by GitHub
commit 5548e585c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,