diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-03-12 02:41:27 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-03-12 06:47:57 +0530 |
| commit | 249ca830963026ec580c6701c7e211742efcf10d (patch) | |
| tree | ebf37e40f6792b9d472f050edbb371d0c211a611 /src | |
| parent | 7a1df9e8deba4e5aebc784b91afc9651e4663feb (diff) | |
| parent | fe541b168e4122844dc4b7ebb7a1de1613958c34 (diff) | |
| download | rust-249ca830963026ec580c6701c7e211742efcf10d.tar.gz rust-249ca830963026ec580c6701c7e211742efcf10d.zip | |
Rollup merge of #32181 - srinivasreddy:librustfront, r=steveklabnik
removed suffixes for librustc_front
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_front/hir.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_front/hir.rs b/src/librustc_front/hir.rs index ece62364376..cc7c0f7865e 100644 --- a/src/librustc_front/hir.rs +++ b/src/librustc_front/hir.rs @@ -737,7 +737,7 @@ pub enum Expr_ { ExprBinary(BinOp, P<Expr>, P<Expr>), /// A unary operation (For example: `!x`, `*x`) ExprUnary(UnOp, P<Expr>), - /// A literal (For example: `1u8`, `"foo"`) + /// A literal (For example: `1`, `"foo"`) ExprLit(P<Lit>), /// A cast (`foo as f64`) ExprCast(P<Expr>, P<Ty>), @@ -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<Expr>, P<Expr>), } |
