about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-09-26 17:29:47 -0700
committerGitHub <noreply@github.com>2016-09-26 17:29:47 -0700
commite3ffde855a8c76dab84d5ca2e5c045538e52869a (patch)
tree64a2a8e086dcf9f3a69ac00dd4e3677b51019ebd /src/doc
parent8ccfc695b56c102a2e7e95719b398bfa0a5e8af1 (diff)
parent0bd7ef0996e8edf11c46f85553af133d38e74881 (diff)
downloadrust-e3ffde855a8c76dab84d5ca2e5c045538e52869a.tar.gz
rust-e3ffde855a8c76dab84d5ca2e5c045538e52869a.zip
Rollup merge of #36563 - vanjacosic:patch-1, r=steveklabnik
Docs: Update to "Getting Started" section

I came across #34523 and wanted to suggest a solution. See commit for details.

It seemed like a good place to start contributing, let me know if I did anything wrong 😇
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/book/getting-started.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/doc/book/getting-started.md b/src/doc/book/getting-started.md
index 700ab2be589..bff448aadd5 100644
--- a/src/doc/book/getting-started.md
+++ b/src/doc/book/getting-started.md
@@ -230,12 +230,13 @@ $ cd hello_world
 
 ## Writing and Running a Rust Program
 
-Next, make a new source file and call it *main.rs*. Rust files always end
-in a *.rs* extension. If you’re using more than one word in your filename, use
-an underscore to separate them; for example, you'd use *hello_world.rs* rather
-than *helloworld.rs*.
+We need to create a source file for our Rust program. Rust files always end
+in a *.rs* extension. If you are using more than one word in your filename,
+use an underscore to separate them; for example, you would use
+*my_program.rs* rather than *myprogram.rs*.
 
-Now open the *main.rs* file you just created, and type the following code:
+Now, make a new file and call it *main.rs*. Open the file and type
+the following code:
 
 ```rust
 fn main() {