From b68fd9e6bfd40802afc2a8379824fdcf541c9c1d Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Thu, 28 Jun 2018 12:02:05 +1200 Subject: Move pair handling to its own module --- src/patterns.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/patterns.rs') 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; -- cgit 1.4.1-3-g733a5