File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -230,12 +230,13 @@ $ cd hello_world
230230
231231## Writing and Running a Rust Program
232232
233- Next, make a new source file and call it * main.rs * . Rust files always end
234- in a * .rs* extension. If you’re using more than one word in your filename, use
235- an underscore to separate them; for example, you'd use * hello_world.rs * rather
236- than * helloworld .rs* .
233+ We need to create a source file for our Rust program. Rust files always end
234+ in a * .rs* extension. If you are using more than one word in your filename,
235+ use an underscore to separate them; for example, you would use
236+ * my_program.rs * rather than * myprogram .rs* .
237237
238- Now open the * main.rs* file you just created, and type the following code:
238+ Now, make a new file and call it * main.rs* . Open the file and type
239+ the following code:
239240
240241``` rust
241242fn main () {
You can’t perform that action at this time.
0 commit comments