From 3e9771df61c4c759b12c735adf1b8cd02b7fdec5 Mon Sep 17 00:00:00 2001 From: Jonathan Bursztyn Date: Wed, 11 Oct 2023 20:03:48 +0100 Subject: [PATCH] Fix import --- Cargo.lock | 1 + tooling/nargo_fmt/Cargo.toml | 1 + tooling/nargo_fmt/src/visitor/expr.rs | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 6051d356fca..e31cee13364 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2388,6 +2388,7 @@ name = "nargo_fmt" version = "0.16.0" dependencies = [ "bytecount", + "iter-extended", "noirc_frontend", "serde", "similar-asserts", diff --git a/tooling/nargo_fmt/Cargo.toml b/tooling/nargo_fmt/Cargo.toml index 921c9893ab5..b33092bf868 100644 --- a/tooling/nargo_fmt/Cargo.toml +++ b/tooling/nargo_fmt/Cargo.toml @@ -10,6 +10,7 @@ bytecount = "0.6.3" noirc_frontend.workspace = true serde.workspace = true toml.workspace = true +iter-extended.workspace = true thiserror.workspace = true [dev-dependencies] diff --git a/tooling/nargo_fmt/src/visitor/expr.rs b/tooling/nargo_fmt/src/visitor/expr.rs index 757994d2f4b..706a4c2de45 100644 --- a/tooling/nargo_fmt/src/visitor/expr.rs +++ b/tooling/nargo_fmt/src/visitor/expr.rs @@ -1,10 +1,10 @@ +use iter_extended::vecmap; use noirc_frontend::{ hir::resolution::errors::Span, ArrayLiteral, BlockExpression, Expression, ExpressionKind, Literal, Statement, }; use super::FmtVisitor; -use iter_extended::vecmap; impl FmtVisitor<'_> { pub(crate) fn visit_expr(&mut self, expr: Expression) {