diff options
| author | mo8it <mo8it@proton.me> | 2024-04-08 01:33:11 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-08 01:33:11 +0200 |
| commit | bd5503a0d363384fb551f3e303d0376a08d50831 (patch) | |
| tree | 34483c229593da41310994bd0219e179fa584468 /src/main.rs | |
| parent | 25e855a009c47d30bfa4da93a93d8390df20fe45 (diff) | |
Show message on reset
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index cba525a..f6c4c20 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)?; |
