mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Print the exercise solution on check
This commit is contained in:
parent
50530fa3cf
commit
a3ada0eee8
1 changed files with 1 additions and 0 deletions
|
@ -171,6 +171,7 @@ fn check_solutions(info_file: &InfoFile) -> Result<()> {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println!("Running the solution of {}", exercise_info.name);
|
||||||
let success = exercise_info.run_solution(&mut output, &target_dir)?;
|
let success = exercise_info.run_solution(&mut output, &target_dir)?;
|
||||||
if !success {
|
if !success {
|
||||||
io::stderr().write_all(&output)?;
|
io::stderr().write_all(&output)?;
|
||||||
|
|
Loading…
Reference in a new issue