Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 002950b

Browse files
committedMar 9, 2017
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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.