about summary refs log tree commit diff
path: root/src/overflow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/overflow.rs')
-rw-r--r--src/overflow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/overflow.rs b/src/overflow.rs
index ac24181c780..3475f5c378c 100644
--- a/src/overflow.rs
+++ b/src/overflow.rs
@@ -394,7 +394,7 @@ impl<'a> Context<'a> {
     ) -> Option<String> {
         let last_item = self.last_item()?;
         let rewrite = match last_item {
-            OverflowableItem::Expr(ref expr) => {
+            OverflowableItem::Expr(expr) => {
                 match expr.kind {
                     // When overflowing the closure which consists of a single control flow
                     // expression, force to use block if its condition uses multi line.