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_ {
737
737
ExprBinary ( BinOp , P < Expr > , P < Expr > ) ,
738
738
/// A unary operation (For example: `!x`, `*x`)
739
739
ExprUnary ( UnOp , P < Expr > ) ,
740
- /// A literal (For example: `1u8 `, `"foo"`)
740
+ /// A literal (For example: `1 `, `"foo"`)
741
741
ExprLit ( P < Lit > ) ,
742
742
/// A cast (`foo as f64`)
743
743
ExprCast ( P < Expr > , P < Ty > ) ,
@@ -804,7 +804,7 @@ pub enum Expr_ {
804
804
805
805
/// A vector literal constructed from one repeated element.
806
806
///
807
- /// For example, `[1u8 ; 5]`. The first expression is the element
807
+ /// For example, `[1 ; 5]`. The first expression is the element
808
808
/// to be repeated; the second is the number of times to repeat it.
809
809
ExprRepeat ( P < Expr > , P < Expr > ) ,
810
810
}
You can’t perform that action at this time.
0 commit comments