From 61e254f2c1933722cd4efdd3658b293f0479b624 Mon Sep 17 00:00:00 2001 From: slhmy Date: Sun, 8 Sep 2024 18:08:45 +0800 Subject: [PATCH] Fix clippy --- judge-core/src/compiler.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/judge-core/src/compiler.rs b/judge-core/src/compiler.rs index ebfdf1c..717807d 100644 --- a/judge-core/src/compiler.rs +++ b/judge-core/src/compiler.rs @@ -162,8 +162,7 @@ impl Compiler { let output = Command::new("sh") .arg("-c") .arg( - &self - .command_builder + self.command_builder .get_command(vec![src_path_string, target_path_string]), ) .args(self.compiler_args.iter())