From 31ef8cc0f4e99df01ca432792accd3297c576070 Mon Sep 17 00:00:00 2001 From: lbeder Date: Mon, 26 Feb 2024 19:57:52 +0000 Subject: [PATCH] Use create instead of create_new --- src/utils/output.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/output.rs b/src/utils/output.rs index 098a8d5..91ecf68 100644 --- a/src/utils/output.rs +++ b/src/utils/output.rs @@ -78,7 +78,7 @@ impl Output { }, ); - let mut file = File::create_new(&self.path).unwrap(); + let mut file = File::create(&self.path).unwrap(); file.write_all(hex::encode(encrypted_data).as_bytes()).unwrap(); file.flush().unwrap();