From b6ea973d19ff1063ff97a95666e988bae226ebb2 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Thu, 28 Jun 2018 11:50:03 +1200 Subject: Factor out PairParts::infix --- src/patterns.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/patterns.rs') diff --git a/src/patterns.rs b/src/patterns.rs index 85b9b84b6b2..5e3cbfc31f3 100644 --- a/src/patterns.rs +++ b/src/patterns.rs @@ -112,7 +112,7 @@ impl Rewrite for Pat { rewrite_pair( &**lhs, &**rhs, - PairParts::new("", &infix, ""), + PairParts::infix(&infix), context, shape, SeparatorPlace::Front, -- cgit 1.4.1-3-g733a5