Skip to content

Commit c09437a

Browse files
committed
auto merge of #17244 : spastorino/rust/patch-1, r=alexcrichton
2 parents e6a3dab + f8bbf6d commit c09437a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/guide.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Save the file, and then type this into your terminal window:
152152

153153
```{bash}
154154
$ rustc main.rs
155-
$ ./hello_world # or hello_world.exe on Windows
155+
$ ./main # or main.exe on Windows
156156
Hello, world!
157157
```
158158

@@ -232,10 +232,10 @@ main.exe main.rs
232232
```
233233

234234
There are now two files: our source code, with the `.rs` extension, and the
235-
executable (`hello_world.exe` on Windows, `hello_world` everywhere else)
235+
executable (`main.exe` on Windows, `main` everywhere else)
236236

237237
```{bash}
238-
$ ./hello_world # or hello_world.exe on Windows
238+
$ ./main # or main.exe on Windows
239239
```
240240

241241
This prints out our `Hello, world!` text to our terminal.

0 commit comments

Comments
 (0)