diff options
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 989be60a103..6c6d1544998 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -615,8 +615,8 @@ pub enum Pat_ { PatLit(P<Expr>), /// A range pattern, e.g. `1...2` PatRange(P<Expr>, P<Expr>), - /// [a, b, ..i, y, z] is represented as: - /// PatVec(box [a, b], Some(i), box [y, z]) + /// `[a, b, ..i, y, z]` is represented as: + /// `PatVec(box [a, b], Some(i), box [y, z])` PatVec(Vec<P<Pat>>, Option<P<Pat>>, Vec<P<Pat>>), /// A macro pattern; pre-expansion PatMac(Mac), |
