Merge pull request #61 from JIghtuse/master

variable-bindings: Specify example language
This commit is contained in:
Steve Klabnik
2016-01-14 09:37:06 -05:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -538,7 +538,7 @@ know that the compiler will let us know if we try to modify it later. Let’s
assume that after we calculate `12`, we don’t want to modify `x` again. If we
had written this program in a mutable style, like this:
```
```rust
fn main() {
let mut x = 5;
x = x + 1;
+1 -1
View File
@@ -527,7 +527,7 @@ know that the compiler will let us know if we try to modify it later. Let’s
assume that after we calculate `12`, we don’t want to modify `x` again. If we
had written this program in a mutable style, like this:
```
```rust
fn main() {
let mut x = 5;
x = x + 1;