From 1cbee42df4868a92de5b18a174592497d451a814 Mon Sep 17 00:00:00 2001 From: Ceri Storey Date: Sat, 27 Mar 2021 10:47:00 +0000 Subject: Avoid ambiguity from use of Itertools::intersperse. --- dhall/src/syntax/text/parser.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'dhall/src/syntax') diff --git a/dhall/src/syntax/text/parser.rs b/dhall/src/syntax/text/parser.rs index 07921b5..d17ac61 100644 --- a/dhall/src/syntax/text/parser.rs +++ b/dhall/src/syntax/text/parser.rs @@ -279,9 +279,7 @@ impl DhallParser { trim_indent(&mut lines); - lines - .into_iter() - .intersperse(newline) + Itertools::intersperse(lines.into_iter(), newline) .flat_map(InterpolatedText::into_iter) .collect::() } -- cgit v1.2.3