diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-05-03 19:09:07 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-05-03 19:54:51 +0530 |
| commit | 2e4474f890bd2a55f3efcfe17e411b902fbfb383 (patch) | |
| tree | 02286c5e155cec090ae37059a03155354cd1864a | |
| parent | 5bac8cb16d7c2ce68a826e5b4238e545cd68d3d5 (diff) | |
| parent | 018c595574ef78d6f00dcf529914a7a54bac6423 (diff) | |
| download | rust-2e4474f890bd2a55f3efcfe17e411b902fbfb383.tar.gz rust-2e4474f890bd2a55f3efcfe17e411b902fbfb383.zip | |
Rollup merge of #33322 - justsostephen:master, r=steveklabnik
doc/book/getting-started.md: Spelling correction and revised wording. The word 'Internet' was spelt with both an uppercase and a lowercase 'I'. The correct spelling seems to be a matter of some debate these days, however the first occurrence in the file has an uppercase 'I', so I've changed the second occurrence to suit for consistency. Under the section titled 'Converting to Cargo', there's mention of creating a new executable. This, however, is not part of the process described. I've revised the wording to reflect as much. Small changes, but I hope they are of benefit! :-) r? @steveklabnik
| -rw-r--r-- | src/doc/book/getting-started.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/book/getting-started.md b/src/doc/book/getting-started.md index fc2a7620883..e61a76a2c37 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 @@ -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: |
