Use ThinVec
in ast::ExprKind::Match
.
This commit is contained in:
parent
912b825002
commit
549f1c60af
8 changed files with 9 additions and 9 deletions
|
@ -1414,7 +1414,7 @@ pub enum ExprKind {
|
|||
/// `'label: loop { block }`
|
||||
Loop(P<Block>, Option<Label>, Span),
|
||||
/// A `match` block.
|
||||
Match(P<Expr>, Vec<Arm>),
|
||||
Match(P<Expr>, ThinVec<Arm>),
|
||||
/// A closure (e.g., `move |a, b, c| a + b + c`).
|
||||
Closure(Box<Closure>),
|
||||
/// A block (`'label: { ... }`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue