From bfcf38c8bc8470b8d1fe3706e6e9da2baaa1ae50 Mon Sep 17 00:00:00 2001 From: liv <819880950@qq.com> Date: Mon, 22 Apr 2019 07:05:46 +0200 Subject: [PATCH] damn it --- src/exercise.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exercise.rs b/src/exercise.rs index a886d2f..28ae695 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -38,7 +38,7 @@ impl Exercise { Mode::Test => Command::new("rustc") .args(&["--test", self.path.to_str().unwrap(), "-o", &temp_file()]) .args(RUSTC_COLOR_ARGS) - .args(&["--" "--nocapture"]) + .args(&["--", "--nocapture"]) .output(), } .expect("Failed to run 'compile' command.")