Skip to content

Commit 002950b

Browse files
committed
update comment
1 parent 6a31628 commit 002950b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/hir/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ pub enum Expr_ {
926926
ExprType(P<Expr>, P<Ty>),
927927
/// An `if` block, with an optional else block
928928
///
929-
/// `if expr { block } else { expr }`
929+
/// `if expr { expr } else { expr }`
930930
ExprIf(P<Expr>, P<Expr>, Option<P<Expr>>),
931931
/// A while loop, with an optional label
932932
///

0 commit comments

Comments
 (0)