From 538098c7a4bdab205a7057b1925c1dad68382bce Mon Sep 17 00:00:00 2001 From: Stephen Mather Date: Sun, 1 May 2016 19:15:33 +0100 Subject: [PATCH 1/2] doc/book/getting-started.md: Corrected spelling of 'Internet'. --- src/doc/book/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/book/getting-started.md b/src/doc/book/getting-started.md index fc2a7620883..b8435438be7 100644 --- a/src/doc/book/getting-started.md +++ b/src/doc/book/getting-started.md @@ -8,7 +8,7 @@ we’ll talk about Cargo, Rust’s build system and package manager. The first step to using Rust is to install it. Generally speaking, you’ll need an Internet connection to run the commands in this section, as we’ll be -downloading Rust from the internet. +downloading Rust from the Internet. We’ll be showing off a number of commands using a terminal, and those lines all start with `$`. We don't need to type in the `$`s, they are there to indicate From 018c595574ef78d6f00dcf529914a7a54bac6423 Mon Sep 17 00:00:00 2001 From: Stephen Mather Date: Sun, 1 May 2016 19:45:38 +0100 Subject: [PATCH 2/2] doc/book/getting-started.md: Removed references to creating a new executable from 'Converting to Cargo'. --- src/doc/book/getting-started.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/book/getting-started.md b/src/doc/book/getting-started.md index b8435438be7..e61a76a2c37 100644 --- a/src/doc/book/getting-started.md +++ b/src/doc/book/getting-started.md @@ -399,13 +399,13 @@ Let’s convert the Hello World program to Cargo. To Cargo-fy a project, you nee to do three things: 1. Put your source file in the right directory. -2. Get rid of the old executable (`main.exe` on Windows, `main` everywhere else) - and make a new one. +2. Get rid of the old executable (`main.exe` on Windows, `main` everywhere + else). 3. Make a Cargo configuration file. Let's get started! -### Creating a new Executable and Source Directory +### Creating a Source Directory and Removing the Old Executable First, go back to your terminal, move to your *hello_world* directory, and enter the following commands: