Skip to content

Commit 249ca83

Browse files
committed
Rollup merge of rust-lang#32181 - srinivasreddy:librustfront, r=steveklabnik
removed suffixes for librustc_front
2 parents 7a1df9e + fe541b1 commit 249ca83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_front/hir.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ pub enum Expr_ {
737737
ExprBinary(BinOp, P<Expr>, P<Expr>),
738738
/// A unary operation (For example: `!x`, `*x`)
739739
ExprUnary(UnOp, P<Expr>),
740-
/// A literal (For example: `1u8`, `"foo"`)
740+
/// A literal (For example: `1`, `"foo"`)
741741
ExprLit(P<Lit>),
742742
/// A cast (`foo as f64`)
743743
ExprCast(P<Expr>, P<Ty>),
@@ -804,7 +804,7 @@ pub enum Expr_ {
804804

805805
/// A vector literal constructed from one repeated element.
806806
///
807-
/// For example, `[1u8; 5]`. The first expression is the element
807+
/// For example, `[1; 5]`. The first expression is the element
808808
/// to be repeated; the second is the number of times to repeat it.
809809
ExprRepeat(P<Expr>, P<Expr>),
810810
}

0 commit comments

Comments
 (0)