We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d472ff commit a46463dCopy full SHA for a46463d
src/libsyntax/ast.rs
@@ -334,8 +334,10 @@ pub enum Pat_ {
334
/// records this pattern's NodeId in an auxiliary
335
/// set (of "PatIdents that refer to nullary enums")
336
PatIdent(BindingMode, SpannedIdent, Option<Gc<Pat>>),
337
- PatEnum(Path, Option<Vec<Gc<Pat>>>), /* "none" means a * pattern where
338
- * we don't bind the fields to names */
+
+ /// "None" means a * pattern where we don't bind the fields to names.
339
+ PatEnum(Path, Option<Vec<Gc<Pat>>>),
340
341
PatStruct(Path, Vec<FieldPat>, bool),
342
PatTup(Vec<Gc<Pat>>),
343
PatBox(Gc<Pat>),
0 commit comments