diff options
| author | bors <bors@rust-lang.org> | 2014-09-16 11:11:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-16 11:11:03 +0000 |
| commit | c09437ab2dc5e35a8e05b4a662bb02f61c2777a0 (patch) | |
| tree | 235e00641e8030ef64a44125e91015d77a578657 | |
| parent | e6a3dabe43c48c2fad357a1483b2f52aa795749b (diff) | |
| parent | f8bbf6d0e111f3959f1b9b4e5d2283e209d16a94 (diff) | |
auto merge of #17244 : spastorino/rust/patch-1, r=alexcrichton
| -rw-r--r-- | src/doc/guide.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md index 9d25421ac50..43aad880da5 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -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! ``` @@ -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. |
