summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-07-07 15:53:48 +0200
committermo8it <mo8it@proton.me>2024-07-07 15:53:48 +0200
commita5f221aa39196b00cb12425ba9f6ed5500ae5790 (patch)
tree87f1d08bb0986b348f08c5975cb2ae1569a1c64d /src/main.rs
parente764b75aef91607ca9938a1f71b57b01293413b7 (diff)
Improve some messages
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 2233d8b..a9f7b4a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -197,9 +197,10 @@ fn main() -> Result<()> {
Ok(())
}
-const OLD_METHOD_ERR: &str = "You are trying to run Rustlings using the old method before v6.
+const OLD_METHOD_ERR: &str =
+ "You are trying to run Rustlings using the old method before version 6.
The new method doesn't include cloning the Rustlings' repository.
-Please follow the instructions in the README:
+Please follow the instructions in `README.md`:
https://github.com/rust-lang/rustlings#getting-started";
const FORMAT_VERSION_HIGHER_ERR: &str =
@@ -216,5 +217,5 @@ const PRE_INIT_MSG: &str = r"
|_| \__,_|___/\__|_|_|_| |_|\__, |___/
|___/
-The `exercises` directory wasn't found in the current directory.
+The `exercises/` directory couldn't be found in the current directory.
If you are just starting with Rustlings, run the command `rustlings init` to initialize it.";