refactor pat parser method names/doc-comments to agree with RFC 3637

This commit is contained in:
Max Niederman 2024-08-22 22:05:48 -07:00 committed by Nadrieril
parent f8e50d8736
commit 35bbc45f16
5 changed files with 23 additions and 22 deletions

View file

@ -469,7 +469,7 @@ impl<'a> Parser<'a> {
PathStyle::Pat
if let Ok(_) = self
.parse_paren_comma_seq(|p| {
p.parse_pat_allow_top_alt(
p.parse_pat_no_top_guard(
None,
RecoverComma::No,
RecoverColon::No,