mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:34:32 -06:00
Merge pull request #95 from justsostephen/master
Spelling correction and revised wording.
This commit is contained in:
+3
-3
@@ -198,13 +198,13 @@ Let’s convert the Hello World program to Cargo. To Cargo-fy a project, you nee
|
|||||||
to do three things:
|
to do three things:
|
||||||
|
|
||||||
1. Put your source file in the right directory.
|
1. Put your source file in the right directory.
|
||||||
2. Get rid of the old executable (`main.exe` on Windows, `main` everywhere else)
|
2. Get rid of the old executable (`main.exe` on Windows, `main` everywhere
|
||||||
and make a new one.
|
else).
|
||||||
3. Make a Cargo configuration file.
|
3. Make a Cargo configuration file.
|
||||||
|
|
||||||
Let's get started!
|
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
|
First, go back to your terminal, move to your *hello_world* directory, and
|
||||||
enter the following commands:
|
enter the following commands:
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
The first step to using Rust is to install it. Generally speaking, you’ll need
|
The first step to using Rust is to install it. Generally speaking, you’ll need
|
||||||
an Internet connection to run the commands in this chapter, as we’ll be
|
an internet connection to run the commands in this chapter, 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
|
We’ll be showing off a number of commands using a terminal, and those lines all
|
||||||
|
|||||||
Reference in New Issue
Block a user