diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-08-18 05:10:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-18 05:10:49 +0200 |
| commit | 5548e585c11b35f04c9eab200c1304057e9267f6 (patch) | |
| tree | 0b50e7e7e69325b803cfb8b9618c8ef5b47dea2f /compiler/rustc_parse/src/parser | |
| parent | 3e057d1512501bd3a0b7e58a33385fd5a5e1b67f (diff) | |
| parent | d3bf103d1b3e8391a8d0a4ebecbfa1004e1297cb (diff) | |
| download | rust-5548e585c11b35f04c9eab200c1304057e9267f6.tar.gz rust-5548e585c11b35f04c9eab200c1304057e9267f6.zip | |
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.
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/stmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/stmt.rs b/compiler/rustc_parse/src/parser/stmt.rs index ade0f4fbc86..cac39f8f25f 100644 --- a/compiler/rustc_parse/src/parser/stmt.rs +++ b/compiler/rustc_parse/src/parser/stmt.rs @@ -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, |
