about summary refs log tree commit diff
path: root/src/doc/tutorial.md
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2014-04-02 17:02:18 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-04-03 13:43:24 -0700
commit1ac8b34ccd02965886d3ca0bd83115c7f7b73729 (patch)
tree88e3643f42878a1becdad88ee36e6c2aee37c2bc /src/doc/tutorial.md
parent544516ac63605a689c904504439e484bd5897522 (diff)
downloadrust-1ac8b34ccd02965886d3ca0bd83115c7f7b73729.tar.gz
rust-1ac8b34ccd02965886d3ca0bd83115c7f7b73729.zip
Minor spelling/grammar/usage fixes.
Note: "different to" is not exactly incorrect, but "different from" is more
commonly accepted in both US and Commonwealth English, and also more
consistent with other usage within this tutorial.
Diffstat (limited to 'src/doc/tutorial.md')
-rw-r--r--src/doc/tutorial.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md
index 352595e8a7a..9e0f3ce19f6 100644
--- a/src/doc/tutorial.md
+++ b/src/doc/tutorial.md
@@ -2841,11 +2841,11 @@ use farm::cow;
 
 The path you give to `use` is per default global, meaning relative to the crate root,
 no matter how deep the module hierarchy is, or whether the module body it's written in
-is contained in its own file (remember: files are irrelevant).
+is contained in its own file. (Remember: files are irrelevant.)
 
-This is different to other languages, where you often only find a single import construct that combines the semantic
+This is different from other languages, where you often only find a single import construct that combines the semantic
 of `mod foo;` and `use`-statements, and which tend to work relative to the source file or use an absolute file path
-- Rubys `require` or C/C++'s `#include` come to mind.
+- Ruby's `require` or C/C++'s `#include` come to mind.
 
 However, it's also possible to import things relative to the module of the `use`-statement:
 Adding a `super::` in front of the path will start in the parent module,
@@ -3025,7 +3025,7 @@ The nested `barn` module is private, but the `pub use` allows users
 of the module `farm` to access a function from `barn` without needing
 to know that `barn` exists.
 
-In other words, you can use them to decouple an public api from their internal implementation.
+In other words, you can use it to decouple a public api from its internal implementation.
 
 ## Using libraries