Show message on reset

This commit is contained in:
mo8it
2024-04-08 01:33:11 +02:00
parent 25e855a009
commit bd5503a0d3
3 changed files with 21 additions and 10 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ If you are just starting with Rustlings, run the command `rustlings init` to ini
let (ind, exercise) = find_exercise(&name, &exercises)?;
exercise.reset()?;
state_file.reset(ind)?;
println!("The file {} has been reset!", exercise.path.display());
println!("The exercise {exercise} has been reset!");
}
Some(Subcommands::Hint { name }) => {
let (_, exercise) = find_exercise(&name, &exercises)?;