mirror of
https://github.com/rust-lang/book.git
synced 2026-09-14 02:50:32 -04:00
Merge remote-tracking branch 'origin/pr/761'
This commit is contained in:
@@ -26,7 +26,7 @@ $ mkdir hello_world
|
||||
$ cd hello_world
|
||||
```
|
||||
|
||||
Windows:
|
||||
Windows CMD:
|
||||
|
||||
```cmd
|
||||
> mkdir %USERPROFILE%\projects
|
||||
@@ -35,6 +35,15 @@ Windows:
|
||||
> cd hello_world
|
||||
```
|
||||
|
||||
Windows PowerShell:
|
||||
|
||||
```powershell
|
||||
> mkdir $env:USERPROFILE\projects
|
||||
> cd $env:USERPROFILE\projects
|
||||
> mkdir hello_world
|
||||
> cd hello_world
|
||||
```
|
||||
|
||||
### Writing and Running a Rust Program
|
||||
|
||||
Next, make a new source file and call it *main.rs*. Rust files always end with
|
||||
|
||||
Reference in New Issue
Block a user