@@ -710,7 +710,8 @@ pub enum PatternX {
710710 sub_pat : Pattern ,
711711 } ,
712712 /// Match constructor of datatype Path, variant Ident
713- /// For tuple-style variants, the fields are named "_0", "_1", etc.
713+ /// For tuple-style variants, the fields are named "0", "1", etc.
714+ /// (See [`crate::def::positional_field_ident`])
714715 /// Fields can appear **in any order** even for tuple variants.
715716 Constructor ( Dt , Ident , Binders < Pattern > ) ,
716717 Or ( Pattern , Pattern ) ,
@@ -892,7 +893,8 @@ pub enum ExprX {
892893 Call ( CallTarget , Exprs , Option < Expr > ) ,
893894 /// Construct datatype value of type Path and variant Ident,
894895 /// with field initializers Binders<Expr> and an optional ".." update expression.
895- /// For tuple-style variants, the fields are named "_0", "_1", etc.
896+ /// For tuple-style variants, the fields are named "0", "1", etc.
897+ /// (See [`crate::def::positional_field_ident`])
896898 /// Fields can appear **in any order** even for tuple variants.
897899 Ctor ( Dt , Ident , Binders < Expr > , Option < CtorUpdateTail > ) ,
898900 /// Primitive 0-argument operation
0 commit comments