Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Save the file, and then type this into your terminal window:

```{bash}
$ rustc main.rs
$ ./hello_world # or hello_world.exe on Windows
$ ./main # or main.exe on Windows
Hello, world!
```

Expand Down Expand Up @@ -232,10 +232,10 @@ main.exe main.rs
```

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

```{bash}
$ ./hello_world # or hello_world.exe on Windows
$ ./main # or main.exe on Windows
```

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