From da1936823f737e4f8eae702f252f320bd37bacc8 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Fri, 1 Mar 2024 22:14:37 +0100 Subject: [PATCH] fix build --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a5c051b..8e7bea1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,7 @@ struct Args { fn main() -> Result<(), Box> { let args = Args::parse(); - if let Some(log_to) = args.log_to { + if let Some(ref log_to) = args.log_to { flexi_logger::Logger::try_with_env_or_str("info")? .log_to_file(FileSpec::default().directory(&log_to)) .log_to_stdout()