mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:24:32 -06:00
hello-world.md: Removed references to creating a new executable from 'Converting to Cargo'.
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:
|
||||
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user