Binary(BinOp, P<Expr>, P<Expr>),
/// A unary operation (For example: `!x`, `*x`)
Unary(UnOp, P<Expr>),
- /// A literal (For example: `1u8`, `"foo"`)
+ /// A literal (For example: `1`, `"foo"`)
Lit(P<Lit>),
/// A cast (`foo as f64`)
Cast(P<Expr>, P<Ty>),
/// An array literal constructed from one repeated element.
///
- /// For example, `[1u8; 5]`. The first expression is the element
+ /// For example, `[1; 5]`. The first expression is the element
/// to be repeated; the second is the number of times to repeat it.
Repeat(P<Expr>, P<Expr>),
Byte(u8),
/// A character literal (`'a'`)
Char(char),
- /// An integer literal (`1u8`)
+ /// An integer literal (`1`)
Int(u64, LitIntType),
/// A float literal (`1f64` or `1E10f64`)
Float(InternedString, FloatTy),
let n: usize = 3 * linewidth;
debug!("mk_printer {}", linewidth);
let token = vec![Token::Eof; n];
- let size = vec![0_isize; n];
- let scan_stack = vec![0_usize; n];
+ let size = vec![0; n];
+ let scan_stack = vec![0; n];
Printer {
out: out,
buf_len: n,