mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-09 04:09:20 +00:00
Optimize: add the exercise file path to the bottom of the output log
This commit is contained in:
parent
51c8da06b0
commit
c1f2219ebb
@ -127,6 +127,7 @@ fn compile_and_test(
|
|||||||
exercise
|
exercise
|
||||||
);
|
);
|
||||||
println!("{}", output.stdout);
|
println!("{}", output.stdout);
|
||||||
|
println!("View: {}", exercise);
|
||||||
Err(())
|
Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -149,6 +150,7 @@ fn compile<'a>(
|
|||||||
exercise
|
exercise
|
||||||
);
|
);
|
||||||
println!("{}", output.stderr);
|
println!("{}", output.stderr);
|
||||||
|
println!("View: {}", exercise);
|
||||||
Err(())
|
Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user