refactor pat parser method names/doc-comments to agree with RFC 3637
This commit is contained in:
parent
f8e50d8736
commit
35bbc45f16
5 changed files with 23 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue