Skip to content

Commit b503da9

Browse files
authored
Merge pull request #1682 from yildiz/patch-1
Explained why it should not work in Chapter 4.1
2 parents 5af1668 + 401ba55 commit b503da9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/variable_bindings/mut.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ fn main() {
1515
1616
println!("After mutation: {}", mutable_binding);
1717
18-
// Error!
18+
// Error! Cannot assign a new value to an immutable variable
1919
_immutable_binding += 1;
20-
// FIXME ^ Comment out this line
2120
}
2221
```
2322

0 commit comments

Comments
 (0)