File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -927,7 +927,7 @@ pub enum ExprKind {
927
927
Binary ( BinOp , P < Expr > , P < Expr > ) ,
928
928
/// A unary operation (For example: `!x`, `*x`)
929
929
Unary ( UnOp , P < Expr > ) ,
930
- /// A literal (For example: `1u8 `, `"foo"`)
930
+ /// A literal (For example: `1 `, `"foo"`)
931
931
Lit ( P < Lit > ) ,
932
932
/// A cast (`foo as f64`)
933
933
Cast ( P < Expr > , P < Ty > ) ,
@@ -1016,7 +1016,7 @@ pub enum ExprKind {
1016
1016
1017
1017
/// An array literal constructed from one repeated element.
1018
1018
///
1019
- /// For example, `[1u8 ; 5]`. The first expression is the element
1019
+ /// For example, `[1 ; 5]`. The first expression is the element
1020
1020
/// to be repeated; the second is the number of times to repeat it.
1021
1021
Repeat ( P < Expr > , P < Expr > ) ,
1022
1022
@@ -1288,7 +1288,7 @@ pub enum LitKind {
1288
1288
Byte ( u8 ) ,
1289
1289
/// A character literal (`'a'`)
1290
1290
Char ( char ) ,
1291
- /// An integer literal (`1u8 `)
1291
+ /// An integer literal (`1 `)
1292
1292
Int ( u64 , LitIntType ) ,
1293
1293
/// A float literal (`1f64` or `1E10f64`)
1294
1294
Float ( InternedString , FloatTy ) ,
Original file line number Diff line number Diff line change @@ -168,8 +168,8 @@ pub fn mk_printer<'a>(out: Box<io::Write+'a>, linewidth: usize) -> Printer<'a> {
168
168
let n: usize = 3 * linewidth;
169
169
debug ! ( "mk_printer {}" , linewidth) ;
170
170
let token = vec ! [ Token :: Eof ; n] ;
171
- let size = vec ! [ 0_isize ; n] ;
172
- let scan_stack = vec ! [ 0_usize ; n] ;
171
+ let size = vec ! [ 0 ; n] ;
172
+ let scan_stack = vec ! [ 0 ; n] ;
173
173
Printer {
174
174
out : out,
175
175
buf_len : n,
You can’t perform that action at this time.
0 commit comments