diff options
| author | Étienne Barrié <etienne.barrie@gmail.com> | 2020-08-10 10:42:54 -0400 |
|---|---|---|
| committer | Étienne Barrié <etienne.barrie@gmail.com> | 2020-08-10 10:42:54 -0400 |
| commit | 81f8c2f83c6bb5c239fd2e0cf856d1535692af3f (patch) | |
| tree | 0710683da6637b251520b26a65b3a1c91a317f28 /src/exercise.rs | |
| parent | c4853ee6bb2b3791ba04daf14105bfab2b53e79f (diff) | |
chore: Run cargo fmt
Diffstat (limited to 'src/exercise.rs')
| -rw-r--r-- | src/exercise.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exercise.rs b/src/exercise.rs index 2108d81..e70538b 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -167,9 +167,10 @@ path = "{}.rs""#, fn run(&self) -> Result<ExerciseOutput, ExerciseOutput> { let arg = match self.mode { Mode::Test => "--show-output", - _ => "" + _ => "", }; - let cmd = Command::new(&temp_file()).arg(arg) + let cmd = Command::new(&temp_file()) + .arg(arg) .output() .expect("Failed to run 'run' command"); |
