From c1c9a85adc2b47327d8af35c824e23926bf9693c Mon Sep 17 00:00:00 2001 From: MordechaiHadad Date: Tue, 5 Nov 2024 14:06:51 +0200 Subject: [PATCH] fix: clippy --- src/handlers/erase_handler.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/handlers/erase_handler.rs b/src/handlers/erase_handler.rs index 8ece059..7e1f82b 100644 --- a/src/handlers/erase_handler.rs +++ b/src/handlers/erase_handler.rs @@ -2,7 +2,7 @@ use anyhow::{anyhow, Result}; use tokio::fs; use tracing::info; -use crate::{config::Config, helpers::directories::{self, get_downloads_directory}}; +use crate::{config::Config, helpers::directories::{self}}; /// Starts the erase process based on the provided `Config`. /// @@ -76,6 +76,7 @@ pub async fn start(config: Config) -> Result<()> { } } else { use what_the_path::shell::Shell; + use crate::helpers::directories::get_downloads_directory; let shell = Shell::detect_by_shell_var()?;