@@ -140,7 +140,7 @@ $ editor main.rs
140140```
141141
142142Rust files always end in a ` .rs ` extension. If you're using more than one word
143- in your file name , use an underscore. ` hello_world.rs ` rather than
143+ in your filename , use an underscore. ` hello_world.rs ` rather than
144144` helloworld.rs ` .
145145
146146Now that you've got your file open, type this in:
@@ -200,7 +200,7 @@ about this difference. Just know that sometimes, you'll see a `!`, and that
200200means that you're calling a macro instead of a normal function. Rust implements
201201` println! ` as a macro rather than a function for good reasons, but that's a
202202very advanced topic. You'll learn more when we talk about macros later. One
203- last thing to mention: Rust's macros are significantly different than C macros,
203+ last thing to mention: Rust's macros are significantly different from C macros,
204204if you've used those. Don't be scared of using macros. We'll get to the details
205205eventually, you'll just have to trust us for now.
206206
@@ -595,8 +595,8 @@ let y = if x == 5i { 10i } else { 15i };
595595```
596596
597597This reveals two interesting things about Rust: it is an expression-based
598- language, and semicolons are different than in other 'curly brace and
599- semicolon'-based languages. These two things are related.
598+ language, and semicolons are different from semicolons in other 'curly brace
599+ and semicolon'-based languages. These two things are related.
600600
601601## Expressions vs. Statements
602602
@@ -1454,7 +1454,7 @@ Both `continue` and `break` are valid in both kinds of loops.
14541454# Strings
14551455
14561456Strings are an important concept for any programmer to master. Rust's string
1457- handling system is a bit different than in other languages, due to its systems
1457+ handling system is a bit different from other languages, due to its systems
14581458focus. Any time you have a data structure of variable size, things can get
14591459tricky, and strings are a re-sizable data structure. That said, Rust's strings
14601460also work differently than in some other systems languages, such as C.
0 commit comments