Fix PatEnum docs

This commit is contained in:
Manish Goregaokar 2015-11-01 16:32:51 +05:30
parent a5fbb3a25f
commit 7e9d73cf2d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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