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
|
@ -990,7 +990,7 @@ pub fn parse_ast_fragment<'a>(
|
|||
}
|
||||
}
|
||||
AstFragmentKind::Ty => AstFragment::Ty(this.parse_ty()?),
|
||||
AstFragmentKind::Pat => AstFragment::Pat(this.parse_pat_allow_top_alt(
|
||||
AstFragmentKind::Pat => AstFragment::Pat(this.parse_pat_no_top_guard(
|
||||
None,
|
||||
RecoverComma::No,
|
||||
RecoverColon::Yes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue