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/types.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/types.rs') diff --git a/src/types.rs b/src/types.rs index 65bcf872bf5..e6cf052d142 100644 --- a/src/types.rs +++ b/src/types.rs @@ -17,7 +17,7 @@ use syntax::codemap::{self, BytePos, Span}; use syntax::print::pprust; use syntax::symbol::keywords; -use {Shape, Spanned}; +use Spanned; use codemap::SpanUtils; use config::{IndentStyle, Style, TypeDensity}; use expr::{rewrite_pair, rewrite_tuple, rewrite_unary_prefix, wrap_args_with_parens}; @@ -25,6 +25,7 @@ use items::{format_generics_item_list, generics_shape_from_config}; use lists::{definitive_tactic, itemize_list, write_list, ListFormatting, ListTactic, Separator, SeparatorPlace, SeparatorTactic}; use rewrite::{Rewrite, RewriteContext}; +use shape::Shape; use utils::{colon_spaces, extra_offset, format_mutability, last_line_width, mk_sp, wrap_str}; #[derive(Copy, Clone, Debug, Eq, PartialEq)] -- cgit 1.4.1-3-g733a5