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:
commit
5548e585c1
@ -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
|
/// or not we have attributes
|
||||||
pub(crate) fn parse_stmt_without_recovery(
|
pub(crate) fn parse_stmt_without_recovery(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user