Remove reference to hello_world.rs in TRPL §2.2

When reading this paragraph, the beginning Rust programmer is starting
to write a Hello World program.  We have just told her to name the file
`main.rs`, and immediately afterward, a `hello_world.rs` is mentioned.
I changed this to an unrelated filename (incidentally one that appears
in this repository) to make it clear that this is just an example.
Also, wording it as a declarative sentence rather than an imperative one
further separates it from the Hello World instructions in this section.
This commit is contained in:
Keshav Kini 2015-10-20 16:07:17 -05:00
parent 5e9f305642
commit 79102e327c

View File

@ -37,8 +37,9 @@ If were on Windows and not using PowerShell, the `~` may not work. Consult th
documentation for our shell for more details.
Lets make a new source file next. Well call our file `main.rs`. Rust files
always end in a `.rs` extension. If were using more than one word in our
filename, use an underscore: `hello_world.rs` rather than `helloworld.rs`.
always end in a `.rs` extension, and if were using more than one word in a
Rust filename, we use an underscore: for example, `linked_list.rs`, not
`linkedlist.rs` or `LinkedList.rs`.
Now that weve got our file open, type this in: