From e72d4882819d8d747746199ade3adcf06292e3a3 Mon Sep 17 00:00:00 2001 From: Marcus Klaas Date: Thu, 17 Sep 2015 20:21:06 +0200 Subject: Refactor test code No longer use callbacks or thread::catch_panic; reduce stdout spew; guard against rustfmt breaking the column limit. --- src/expr.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/expr.rs') diff --git a/src/expr.rs b/src/expr.rs index e0ad66ba34f..a91c6c38572 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -14,11 +14,10 @@ use std::borrow::Borrow; use rewrite::{Rewrite, RewriteContext}; use lists::{write_list, itemize_list, ListFormatting, SeparatorTactic, ListTactic}; use string::{StringFormat, rewrite_string}; -use StructLitStyle; use utils::{span_after, make_indent, extra_offset, first_line_width, last_line_width, wrap_str, binary_search}; use visitor::FmtVisitor; -use config::MultilineStyle; +use config::{StructLitStyle, MultilineStyle}; use comment::{FindUncommented, rewrite_comment, contains_comment}; use types::rewrite_path; use items::{span_lo_for_arg, span_hi_for_arg}; -- cgit 1.4.1-3-g733a5