diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2018-06-28 12:02:05 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2018-07-12 21:37:28 +1200 |
| commit | b68fd9e6bfd40802afc2a8379824fdcf541c9c1d (patch) | |
| tree | bcecbdb4f44d781db0c874e475a8feac71d13051 /src/patterns.rs | |
| parent | b6ea973d19ff1063ff97a95666e988bae226ebb2 (diff) | |
Move pair handling to its own module
Diffstat (limited to 'src/patterns.rs')
| -rw-r--r-- | src/patterns.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/patterns.rs b/src/patterns.rs index 5e3cbfc31f3..dbe0c8a6f66 100644 --- a/src/patterns.rs +++ b/src/patterns.rs @@ -15,15 +15,14 @@ use syntax::ptr; use codemap::SpanUtils; use comment::FindUncommented; -use expr::{ - can_be_overflowed_expr, rewrite_pair, rewrite_unary_prefix, wrap_struct_field, PairParts, -}; +use expr::{can_be_overflowed_expr, rewrite_unary_prefix, wrap_struct_field}; use lists::{ itemize_list, shape_for_tactic, struct_lit_formatting, struct_lit_shape, struct_lit_tactic, write_list, }; use macros::{rewrite_macro, MacroPosition}; use overflow; +use pairs::{rewrite_pair, PairParts}; use rewrite::{Rewrite, RewriteContext}; use shape::Shape; use spanned::Spanned; |
