about summary refs log tree commit diff
path: root/src/expr.rs
diff options
context:
space:
mode:
authorSeiichi Uchida <seuchida@gmail.com>2018-04-06 23:09:45 +0900
committerGitHub <noreply@github.com>2018-04-06 23:09:45 +0900
commitedcc7b69ebe7f13223bd0e44f766a050df859eaa (patch)
tree2b8d70d962566921d4bef6133ff67b4997321144 /src/expr.rs
parentb6645e345ed3bb50ea881be9b480638094a8933d (diff)
Cargo update (#2602)
Update `rustc-ap-syntax` to 89.0.0 and fix up breaking changes.
Diffstat (limited to 'src/expr.rs')
-rw-r--r--src/expr.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/expr.rs b/src/expr.rs
index 14ba8d0f7a0..d2ae5ba94e1 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -288,9 +288,7 @@ pub fn format_expr(
         }
         // We do not format these expressions yet, but they should still
         // satisfy our width restrictions.
-        ast::ExprKind::InPlace(..) | ast::ExprKind::InlineAsm(..) => {
-            Some(context.snippet(expr.span).to_owned())
-        }
+        ast::ExprKind::InlineAsm(..) => Some(context.snippet(expr.span).to_owned()),
         ast::ExprKind::Catch(ref block) => {
             if let rw @ Some(_) =
                 rewrite_single_line_block(context, "do catch ", block, Some(&expr.attrs), shape)