about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHorace Abenga <horace@abenga.com>2016-06-05 13:16:59 +0300
committerHorace Abenga <horace@gro-intelligence.com>2016-06-07 09:38:15 +0300
commitb014039197979898f3ddbfdb95167543baa071da (patch)
treee94253a0826221bfd8d6528337b3e7208830ca0e
parent763f9234b052c7911dc4cf952a81a85c51c57784 (diff)
Minor changes to variable bindings chapter
* In "... name as another binding, that's currently in scope, will ...", ",
  that's currently in scope, " is not a parenthetical element, and the commas
  can be omitted.

* Other minor changes.
-rw-r--r--src/doc/book/variable-bindings.md13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/doc/book/variable-bindings.md b/src/doc/book/variable-bindings.md
index 1c8c03cf679..dc50299f5f3 100644
--- a/src/doc/book/variable-bindings.md
+++ b/src/doc/book/variable-bindings.md
@@ -37,8 +37,8 @@ of our minds as we go forward.
 Rust is a statically typed language, which means that we specify our types up
 front, and they’re checked at compile time. So why does our first example
 compile? Well, Rust has this thing called ‘type inference’. If it can figure
-out what the type of something is, Rust doesn’t require you to actually type it
-out.
+out what the type of something is, Rust doesn’t require you to explicitly type
+it out.
 
 We can add the type if we want to, though. Types come after a colon (`:`):
 
@@ -159,8 +159,9 @@ error: aborting due to previous error
 Could not compile `hello_world`.
 ```
 
-Rust will not let us use a value that has not been initialized. Next, let’s
-talk about this stuff we've added to `println!`.
+Rust will not let us use a value that has not been initialized.
+
+Let take a minute to talk about this stuff we've added to `println!`.
 
 If you include two curly braces (`{}`, some call them moustaches...) in your
 string to print, Rust will interpret this as a request to interpolate some sort
@@ -222,8 +223,8 @@ To learn more, run the command again with --verbose.
 ```
 
 Additionally, variable bindings can be shadowed. This means that a later
-variable binding with the same name as another binding, that's currently in
-scope, will override the previous binding.
+variable binding with the same name as another binding that is currently in
+scope will override the previous binding.
 
 ```rust
 let x: i32 = 8;