From 06755d90ce3bf9694060e579439ee4e8345e4512 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Tue, 16 Feb 2016 00:40:38 +0300 Subject: Split PatKind::Enum into PatKind::TupleStruct and PatKind::Path --- src/libsyntax/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax') diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index cb79c609c1b..23bb6fd141a 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -580,7 +580,7 @@ pub enum PatKind { /// An associated const named using the qualified path `::CONST` or /// `::CONST`. Associated consts from inherent impls can be /// referred to as simply `T::CONST`, in which case they will end up as - /// PatKind::Enum, and the resolver will have to sort that out. + /// PatKind::Path, and the resolver will have to sort that out. QPath(QSelf, Path), /// A tuple pattern `(a, b)` -- cgit 1.4.1-3-g733a5