diff options
author | Nadrieril | 2021-04-03 14:22:32 +0000 |
---|---|---|
committer | GitHub | 2021-04-03 14:22:32 +0000 |
commit | 527194222bbdcf559cfec3aac9b43c9ea05c2d6e (patch) | |
tree | 22b4fed4105d8b0a6e4fa53c97e855542b61a8fb /dhall/src/builtins.rs | |
parent | 846c14f92bda2fb3e68c3debf940414628013574 (diff) | |
parent | c331dcfaed6177a322de50fed418aa619210e88b (diff) |
Merge pull request #215 from cstorey/remove-redundant-semicolons
Diffstat (limited to 'dhall/src/builtins.rs')
-rw-r--r-- | dhall/src/builtins.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dhall/src/builtins.rs b/dhall/src/builtins.rs index 123e03d..82cb5ff 100644 --- a/dhall/src/builtins.rs +++ b/dhall/src/builtins.rs @@ -451,9 +451,10 @@ fn apply_builtin<'cx>( ); Ret::Nir(Nir::from_kind(NirKind::TextLit( - nze::nir::TextLit::new( - parts.intersperse(replacement), - ), + nze::nir::TextLit::new(Itertools::intersperse( + parts, + replacement, + )), ))) } } else { |