From fe541b168e4122844dc4b7ebb7a1de1613958c34 Mon Sep 17 00:00:00 2001 From: srinivasreddy Date: Fri, 11 Mar 2016 01:32:03 +0530 Subject: [PATCH] removed suffixes for librustc_front --- src/librustc_front/hir.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_front/hir.rs b/src/librustc_front/hir.rs index ece62364376fc..cc7c0f7865ea5 100644 --- a/src/librustc_front/hir.rs +++ b/src/librustc_front/hir.rs @@ -737,7 +737,7 @@ pub enum Expr_ { ExprBinary(BinOp, P, P), /// A unary operation (For example: `!x`, `*x`) ExprUnary(UnOp, P), - /// A literal (For example: `1u8`, `"foo"`) + /// A literal (For example: `1`, `"foo"`) ExprLit(P), /// A cast (`foo as f64`) ExprCast(P, P), @@ -804,7 +804,7 @@ pub enum Expr_ { /// A vector 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. ExprRepeat(P, P), }