review comments

This commit is contained in:
Esteban Küber 2019-03-19 13:17:25 -07:00
parent 6007e6f649
commit 757eb67992
3 changed files with 5 additions and 3 deletions

View file

@ -620,7 +620,7 @@ pub enum PatKind {
/// A struct or struct variant pattern (e.g., `Variant {x, y, ..}`).
/// The `bool` is `true` in the presence of a `..`.
Struct(Path, Vec<Spanned<FieldPat>>, bool),
Struct(Path, Vec<Spanned<FieldPat>>, /* recovered */ bool),
/// A tuple struct/variant pattern (`Variant(x, y, .., z)`).
/// If the `..` pattern fragment is present, then `Option<usize>` denotes its position.