Skip to content

Commit 5fa50d9

Browse files
authored
Variable Bindings possible nitpick
Complete drive by nitpick I'm afraid
1 parent 9f1762a commit 5fa50d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/book/src/variable-bindings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ print.
181181
# Scope and shadowing
182182

183183
Let’s get back to bindings. Variable bindings have a scope - they are
184-
constrained to live in a block they were defined in. A block is a collection
184+
constrained to live in the block they were defined in. A block is a collection
185185
of statements enclosed by `{` and `}`. Function definitions are also blocks!
186186
In the following example we define two variable bindings, `x` and `y`, which
187187
live in different blocks. `x` can be accessed from inside the `fn main() {}`

0 commit comments

Comments
 (0)