Auto merge of #39923 - mattyw:patch-1, r=steveklabnik

Variable Bindings possible nitpick

Complete drive by nitpick I'm afraid
This commit is contained in:
bors 2017-02-20 08:16:31 +00:00
commit 941d494a6a

View file

@ -181,7 +181,7 @@ print.
# Scope and shadowing
Lets get back to bindings. Variable bindings have a scope - they are
constrained to live in a block they were defined in. A block is a collection
constrained to live in the block they were defined in. A block is a collection
of statements enclosed by `{` and `}`. Function definitions are also blocks!
In the following example we define two variable bindings, `x` and `y`, which
live in different blocks. `x` can be accessed from inside the `fn main() {}`