diff options
| author | smenardpw <sebastien@knoglr.com> | 2014-06-29 09:55:14 +0200 |
|---|---|---|
| committer | Sébastien <sebastien@knoglr.com> | 2014-06-30 07:43:15 +0200 |
| commit | f6f1cf13d03fc3c5261fa84d08c26a386145c9ac (patch) | |
| tree | 32b395692708e787090327fba265e18f1e4609df | |
| parent | fe8bc178014dc2c5badd8443329c179478a40cc4 (diff) | |
| download | rust-f6f1cf13d03fc3c5261fa84d08c26a386145c9ac.tar.gz rust-f6f1cf13d03fc3c5261fa84d08c26a386145c9ac.zip | |
Little typo fix
- ./hello_world which is not recognized on Windows fixed. - .exe extension added. - Little rewriting.
| -rw-r--r-- | src/doc/guide.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md index bf54b3dc6a4..3cbe83718d4 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -160,7 +160,7 @@ Save the file, and then type this into your terminal window: ```{bash} $ rustc hello_world.rs -$ ./hello_world # just 'hello_world' on Windows +$ ./hello_world # or hello_world.exe on Windows Hello, world ``` @@ -243,7 +243,7 @@ There are now two files: our source code, with the `.rs` extension, and the executable (`hello_world.exe` on Windows, `hello_world` everywhere else) ```{bash} -$ ./hello_world # or ./hello_world.exe on Windows +$ ./hello_world # or hello_world.exe on Windows ``` This prints out our `Hello, world!` text to our terminal. |
