From 20aac41a59828ec594941fa275d8d32f5a801328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Wo=C5=9B?= Date: Mon, 11 Dec 2023 12:10:56 +0000 Subject: [PATCH] clippy + fmt --- plugins/forc-index/src/ops/forc_index_build.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/forc-index/src/ops/forc_index_build.rs b/plugins/forc-index/src/ops/forc_index_build.rs index 683f919fa..e78587e6e 100644 --- a/plugins/forc-index/src/ops/forc_index_build.rs +++ b/plugins/forc-index/src/ops/forc_index_build.rs @@ -1,8 +1,5 @@ use crate::{cli::BuildCommand, defaults, utils::project_dir_info}; -use fuel_indexer_lib::{ - manifest::{Manifest, Module}, - utils::Config, -}; +use fuel_indexer_lib::{manifest::Manifest, utils::Config}; use indicatif::{ProgressBar, ProgressStyle}; use std::collections::HashSet; use std::{ @@ -182,7 +179,7 @@ pub fn init(command: BuildCommand) -> anyhow::Result<()> { let abs_artifact_path = target_dir .join(defaults::WASM_TARGET) .join(profile) - .join(&binary); + .join(binary); let abs_wasm = abs_artifact_path.as_path().display().to_string();