about summary refs log tree commit diff
path: root/src/doc/guide.md
diff options
context:
space:
mode:
authorCorey Richardson <corey@octayn.net>2014-12-05 10:07:48 -0800
committerCorey Richardson <corey@octayn.net>2014-12-05 10:07:48 -0800
commit0fb040f4bd1a3bd7ee9d60dfb8445a587ef7f28e (patch)
tree34fdbc1dcc6dc2cb7fad30195e088b5f5a9e227d /src/doc/guide.md
parentc7d545e2f7d3604a7a3f33cebb0695bfcbea5d8b (diff)
parentf0f7a9006853902882f7475b400fc9075c798c29 (diff)
downloadrust-0fb040f4bd1a3bd7ee9d60dfb8445a587ef7f28e.tar.gz
rust-0fb040f4bd1a3bd7ee9d60dfb8445a587ef7f28e.zip
rollup merge of #19525: steveklabnik/guide_edits
Fixes #19335. (or at least, the actionable parts)
Diffstat (limited to 'src/doc/guide.md')
-rw-r--r--src/doc/guide.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index 45bff480f7b..2aa7e24f551 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -140,7 +140,7 @@ $ editor main.rs
 ```
 
 Rust files always end in a `.rs` extension. If you're using more than one word
-in your file name, use an underscore. `hello_world.rs` rather than
+in your filename, use an underscore. `hello_world.rs` rather than
 `helloworld.rs`.
 
 Now 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
 means that you're calling a macro instead of a normal function. Rust implements
 `println!` as a macro rather than a function for good reasons, but that's a
 very advanced topic. You'll learn more when we talk about macros later. One
-last thing to mention: Rust's macros are significantly different than C macros,
+last thing to mention: Rust's macros are significantly different from C macros,
 if you've used those. Don't be scared of using macros. We'll get to the details
 eventually, you'll just have to trust us for now.
 
@@ -595,8 +595,8 @@ let y = if x == 5i { 10i } else { 15i };
 ```
 
 This reveals two interesting things about Rust: it is an expression-based
-language, and semicolons are different than in other 'curly brace and
-semicolon'-based languages. These two things are related.
+language, and semicolons are different from semicolons in other 'curly brace
+and semicolon'-based languages. These two things are related.
 
 ## Expressions vs. Statements
 
@@ -1454,7 +1454,7 @@ Both `continue` and `break` are valid in both kinds of loops.
 # Strings
 
 Strings are an important concept for any programmer to master. Rust's string
-handling system is a bit different than in other languages, due to its systems
+handling system is a bit different from other languages, due to its systems
 focus. Any time you have a data structure of variable size, things can get
 tricky, and strings are a re-sizable data structure. That said, Rust's strings
 also work differently than in some other systems languages, such as C.