From ecba73ebbc71d0da567f99e49abc2947ff183ef2 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Tue, 26 Mar 2024 13:55:15 +0000 Subject: [PATCH] cargo: fmt --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 57c0456..50e092c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ +use anyhow::{Context, Result}; use clap::Parser; use colored::Colorize; use std::{fs, path, process}; -use anyhow::{Context, Result}; #[derive(Parser, Debug)] #[command(version, about, long_about = None, author)] @@ -27,7 +27,6 @@ fn vaporise() -> Result<()> { process::exit(0); } - for target in args.targets.iter() { if !args.no_preserve && (target == "/" || target == "~") { println!("{}: you're trying to delete an important directory ({})! specify '{}' if you really want to do this", "error".red().bold(), "--no-preserve".yellow(), target);