Skip to content

Commit

Permalink
Fix PatEnum docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Nov 1, 2015
1 parent a5fbb3a commit 7e9d73c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustc_front/hir.rs
Expand Up @@ -417,7 +417,7 @@ pub enum Pat_ {
/// set (of "PatIdents that refer to nullary enums")
PatIdent(BindingMode, Spanned<Ident>, Option<P<Pat>>),

/// "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<Vec<P<Pat>>>),

/// An associated const named using the qualified path `<T>::CONST` or
Expand Down
2 changes: 1 addition & 1 deletion src/libsyntax/ast.rs
Expand Up @@ -593,7 +593,7 @@ pub enum Pat_ {
/// set (of "PatIdents that refer to nullary enums")
PatIdent(BindingMode, SpannedIdent, Option<P<Pat>>),

/// "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<Vec<P<Pat>>>),

/// An associated const named using the qualified path `<T>::CONST` or
Expand Down

0 comments on commit 7e9d73c

Please sign in to comment.