diff options
| author | Suchith J N <suchithjn22@gmail.com> | 2017-04-15 17:40:54 +0530 |
|---|---|---|
| committer | Suchith J N <suchithjn22@gmail.com> | 2017-04-15 17:40:54 +0530 |
| commit | 5649b3796fa3f8b32116f13e81b44361169ec686 (patch) | |
| tree | b18f3a7d7b7026434f5936757eee7876f4abc962 | |
| parent | 6fc7d45d64dd9489a94b2acfd4d1044482e95e2d (diff) | |
| download | rust-5649b3796fa3f8b32116f13e81b44361169ec686.tar.gz rust-5649b3796fa3f8b32116f13e81b44361169ec686.zip | |
Aesthetic issue. Corrected indentation
| -rw-r--r-- | src/librustc/hir/lowering.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/hir/lowering.rs b/src/librustc/hir/lowering.rs index d6560300753..0fd906ae5e4 100644 --- a/src/librustc/hir/lowering.rs +++ b/src/librustc/hir/lowering.rs @@ -2051,9 +2051,9 @@ impl<'a> LoweringContext<'a> { let wildcard_arm: Option<&Expr> = else_opt.as_ref().map(|p| &**p); let wildcard_pattern = self.pat_wild(e.span); let body = if let Some(else_expr) = wildcard_arm { - P(self.lower_expr(else_expr)) + P(self.lower_expr(else_expr)) } else { - self.expr_tuple(e.span, hir_vec![]) + self.expr_tuple(e.span, hir_vec![]) }; arms.push(self.arm(hir_vec![wildcard_pattern], body)); } |
