diff options
| author | Seiichi Uchida <seuchida@gmail.com> | 2017-09-17 15:23:25 +0900 |
|---|---|---|
| committer | topecongiro <seuchida@gmail.com> | 2017-09-19 10:04:35 +0900 |
| commit | df7d2be5629b7162426f8a3c6dbf005f228008fe (patch) | |
| tree | cdb7353ef2d0deaeee4919b182bcca6796176e4e /src/patterns.rs | |
| parent | 8974f89381cffd73c35b0cb91eb4e49a66f93d5c (diff) | |
Move Indent and Shape to shape.rs from lib.rs
Diffstat (limited to 'src/patterns.rs')
| -rw-r--r-- | src/patterns.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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}; |
