From 7e9d73cf2d9ddd6346fb5da26d32f2faa28f7eaa Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sun, 1 Nov 2015 16:32:51 +0530 Subject: Fix PatEnum docs --- 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 7b3c33d53a3..989be60a103 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -593,7 +593,7 @@ pub enum Pat_ { /// set (of "PatIdents that refer to nullary enums") PatIdent(BindingMode, SpannedIdent, Option>), - /// "None" means a * pattern where we don't bind the fields to names. + /// "None" means a `Variant(..)` pattern where we don't bind the fields to names. PatEnum(Path, Option>>), /// An associated const named using the qualified path `::CONST` or -- cgit 1.4.1-3-g733a5