From 77fd4b62d288baedf15a7631894af67f030e6dad Mon Sep 17 00:00:00 2001 From: aria Date: Mon, 7 Jul 2025 23:23:36 +1000 Subject: [PATCH] refactor: clippy::upper_case_acronyms --- src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 18e6535..81bb1bb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,9 +42,9 @@ struct Args { #[derive(clap::ValueEnum, Debug, Clone, Default)] enum OutputFormat { Image, - CSV, + Csv, #[default] - TXT, + Txt, } /// follow up by extracting just the user and the message @@ -94,8 +94,8 @@ fn main() -> Result<()> { match &args.format { OutputFormat::Image => save_image_file(&args.output, extracted, selection)?, - OutputFormat::CSV => save_csv_file(&args.output, extracted, selection)?, - OutputFormat::TXT => save_txt_file(&args.output, extracted, selection)?, + OutputFormat::Csv => save_csv_file(&args.output, extracted, selection)?, + OutputFormat::Txt => save_txt_file(&args.output, extracted, selection)?, } Ok(())