From df7d2be5629b7162426f8a3c6dbf005f228008fe Mon Sep 17 00:00:00 2001 From: Seiichi Uchida Date: Sun, 17 Sep 2017 15:23:25 +0900 Subject: Move Indent and Shape to shape.rs from lib.rs --- src/patterns.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/patterns.rs') diff --git a/src/patterns.rs b/src/patterns.rs index ab61df22b68..49c7556894f 100644 --- a/src/patterns.rs +++ b/src/patterns.rs @@ -12,7 +12,7 @@ use syntax::ast::{self, BindingMode, FieldPat, Pat, PatKind, RangeEnd}; use syntax::codemap::{self, BytePos, Span}; use syntax::ptr; -use {Shape, Spanned}; +use Spanned; use codemap::SpanUtils; use comment::FindUncommented; use expr::{can_be_overflowed_expr, rewrite_call_inner, rewrite_pair, rewrite_unary_prefix, @@ -20,6 +20,7 @@ use expr::{can_be_overflowed_expr, rewrite_call_inner, rewrite_pair, rewrite_una use lists::{itemize_list, shape_for_tactic, struct_lit_formatting, struct_lit_shape, struct_lit_tactic, write_list, DefinitiveListTactic, SeparatorPlace, SeparatorTactic}; use rewrite::{Rewrite, RewriteContext}; +use shape::Shape; use types::{rewrite_path, PathContext}; use utils::{format_mutability, mk_sp, wrap_str}; -- cgit 1.4.1-3-g733a5