mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-05 00:00:12 +00:00
add a slightly more helpful error message
This commit is contained in:
parent
f2c48cfac5
commit
7eddee6f7a
@ -55,6 +55,7 @@ fn main() {
|
||||
"{} must be run from the rustlings directory",
|
||||
std::env::current_exe().unwrap().to_str().unwrap()
|
||||
);
|
||||
println!("Try `cd rustlings/`!");
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user