Skip to content

Commit

Permalink
Merge pull request #1682 from yildiz/patch-1
Browse files Browse the repository at this point in the history
Explained why it should not work in Chapter 4.1
  • Loading branch information
marioidival authored Mar 21, 2023
2 parents 5af1668 + 401ba55 commit b503da9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/variable_bindings/mut.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ fn main() {
println!("After mutation: {}", mutable_binding);
// Error!
// Error! Cannot assign a new value to an immutable variable
_immutable_binding += 1;
// FIXME ^ Comment out this line
}
```

Expand Down

0 comments on commit b503da9

Please sign in to comment.