From 57bea77c7f81c1fc882609d33662eba20479fe28 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Tue, 24 Jun 2025 13:10:39 +0200 Subject: Remove useless map --- src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 98429ee..b33d8d1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -136,8 +136,7 @@ fn generate_wav_file(cli: &Cli, text: &str) -> Result<()> { let output_path = cli .output - .as_ref() - .map(|p| p.clone()) + .clone() .unwrap_or_else(|| PathBuf::from("output.wav")); if cli.verbose { -- cgit v1.3.1