File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -737,7 +737,7 @@ pub enum Expr_ {
737737 ExprBinary ( BinOp , P < Expr > , P < Expr > ) ,
738738 /// A unary operation (For example: `!x`, `*x`)
739739 ExprUnary ( UnOp , P < Expr > ) ,
740- /// A literal (For example: `1u8 `, `"foo"`)
740+ /// A literal (For example: `1 `, `"foo"`)
741741 ExprLit ( P < Lit > ) ,
742742 /// A cast (`foo as f64`)
743743 ExprCast ( P < Expr > , P < Ty > ) ,
@@ -804,7 +804,7 @@ pub enum Expr_ {
804804
805805 /// A vector literal constructed from one repeated element.
806806 ///
807- /// For example, `[1u8 ; 5]`. The first expression is the element
807+ /// For example, `[1 ; 5]`. The first expression is the element
808808 /// to be repeated; the second is the number of times to repeat it.
809809 ExprRepeat ( P < Expr > , P < Expr > ) ,
810810}
You can’t perform that action at this time.
0 commit comments