summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorliv <819880950@qq.com>2019-04-22 18:43:39 +0800
committerliv <819880950@qq.com>2019-04-22 18:43:39 +0800
commit7eddee6f7a8ddc530ca5f430f0d7f39c4289977d (patch)
tree1a2a92152dce03560b662c18c0bb62f9a0c321ef /src/main.rs
parentf2c48cfac533c338f493c4264dc7eebebec1fd07 (diff)
add a slightly more helpful error message
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 01618b7..744888f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -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);
}