Use ThinVec
in a few more AST types.
This commit is contained in:
parent
549f1c60af
commit
7e855d5f31
11 changed files with 72 additions and 69 deletions
|
@ -2935,8 +2935,8 @@ impl<'a> Parser<'a> {
|
|||
pth: ast::Path,
|
||||
recover: bool,
|
||||
close_delim: Delimiter,
|
||||
) -> PResult<'a, (Vec<ExprField>, ast::StructRest, bool)> {
|
||||
let mut fields = Vec::new();
|
||||
) -> PResult<'a, (ThinVec<ExprField>, ast::StructRest, bool)> {
|
||||
let mut fields = ThinVec::new();
|
||||
let mut base = ast::StructRest::None;
|
||||
let mut recover_async = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue