Skip to content

Commit 7eddee6

Browse files
committed
add a slightly more helpful error message
1 parent f2c48cf commit 7eddee6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ fn main() {
5555
"{} must be run from the rustlings directory",
5656
std::env::current_exe().unwrap().to_str().unwrap()
5757
);
58+
println!("Try `cd rustlings/`!");
5859
std::process::exit(1);
5960
}
6061

0 commit comments

Comments
 (0)