From f6f1cf13d03fc3c5261fa84d08c26a386145c9ac Mon Sep 17 00:00:00 2001 From: smenardpw Date: Sun, 29 Jun 2014 09:55:14 +0200 Subject: [PATCH] Little typo fix - ./hello_world which is not recognized on Windows fixed. - .exe extension added. - Little rewriting. --- src/doc/guide.md | 4 ++-- 1 file 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.