diff options
| author | Seiichi Uchida <seuchida@gmail.com> | 2018-09-19 23:22:26 +0900 |
|---|---|---|
| committer | Seiichi Uchida <seuchida@gmail.com> | 2018-09-19 23:22:26 +0900 |
| commit | e2b9c66cc9d3228339d07cb5410f6cabdac97de8 (patch) | |
| tree | 5b796cfcd88ff2c317b5e1be540f6a58d01851a9 /src/expr.rs | |
| parent | d4f7e219dcd74989f695fe261534cc8fef5b1477 (diff) | |
Cargo fmt
Diffstat (limited to 'src/expr.rs')
| -rw-r--r-- | src/expr.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/expr.rs b/src/expr.rs index a5d1cdd5583..674f719b5c7 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -1029,7 +1029,8 @@ impl<'a> Rewrite for ControlFlow<'a> { false, true, mk_sp(else_block.span.lo(), self.span.hi()), - ).rewrite(context, shape) + ) + .rewrite(context, shape) } ast::ExprKind::If(ref cond, ref if_block, ref next_else_block) => { ControlFlow::new_if( @@ -1040,7 +1041,8 @@ impl<'a> Rewrite for ControlFlow<'a> { false, true, mk_sp(else_block.span.lo(), self.span.hi()), - ).rewrite(context, shape) + ) + .rewrite(context, shape) } _ => { last_in_chain = true; @@ -1237,7 +1239,8 @@ fn rewrite_string_lit(context: &RewriteContext, span: Span, shape: Shape) -> Opt new_indent.to_string(context.config), line.trim_left() ) - }).collect::<Vec<_>>() + }) + .collect::<Vec<_>>() .join("\n") .trim_left(), ); |
