]> git.lizzy.rs Git - rust.git/commitdiff
Cargo fmt
authortopecongiro <seuchida@gmail.com>
Tue, 22 May 2018 22:22:59 +0000 (07:22 +0900)
committertopecongiro <seuchida@gmail.com>
Tue, 22 May 2018 22:22:59 +0000 (07:22 +0900)
src/items.rs

index 7da3f8c14d497ced9572dc10ae0728973f520690..1bcd8b3da78d5c4190b2ec291951fa8a546032eb 100644 (file)
@@ -1380,9 +1380,9 @@ fn format_tuple_struct(
         // We need to put the where clause on a new line, but we didn't
         // know that earlier, so the where clause will not be indented properly.
         result.push('\n');
-        result
-            .push_str(&(offset.block_only() + (context.config.tab_spaces() - 1))
-                .to_string(context.config));
+        result.push_str(
+            &(offset.block_only() + (context.config.tab_spaces() - 1)).to_string(context.config),
+        );
     }
     result.push_str(&where_clause_str);