about summary refs log tree commit diff
path: root/src/types.rs
diff options
context:
space:
mode:
authorSeiichi Uchida <seuchida@gmail.com>2017-09-17 15:23:25 +0900
committertopecongiro <seuchida@gmail.com>2017-09-19 10:04:35 +0900
commitdf7d2be5629b7162426f8a3c6dbf005f228008fe (patch)
treecdb7353ef2d0deaeee4919b182bcca6796176e4e /src/types.rs
parent8974f89381cffd73c35b0cb91eb4e49a66f93d5c (diff)
Move Indent and Shape to shape.rs from lib.rs
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs3
1 files changed, 2 insertions, 1 deletions
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)]