]> git.lizzy.rs Git - rust.git/commitdiff
Little typo fix
authorsmenardpw <sebastien@knoglr.com>
Sun, 29 Jun 2014 07:55:14 +0000 (09:55 +0200)
committerSébastien <sebastien@knoglr.com>
Mon, 30 Jun 2014 05:43:15 +0000 (07:43 +0200)
- ./hello_world which is not recognized on Windows fixed.
- .exe extension added.
- Little rewriting.

src/doc/guide.md

index bf54b3dc6a415bbcfeb6d6197969a9910cba1ad0..3cbe83718d4aed83c2d1c32b9b967733bb64b8b6 100644 (file)
@@ -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.