1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2025-07-28 16:10:05 -04:00

chore: Run cargo fmt

This commit is contained in:
Étienne Barrié 2020-08-10 10:42:54 -04:00
commit 81f8c2f83c
4 changed files with 7 additions and 10 deletions

View file

@ -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");