diff options
Diffstat (limited to 'chapter17/README.md')
| -rw-r--r-- | chapter17/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter17/README.md b/chapter17/README.md index e0c8d6d9..8a7cc8b1 100644 --- a/chapter17/README.md +++ b/chapter17/README.md @@ -92,7 +92,7 @@ bar.x = 3; // Ok, bar is mutable struct Foo { Bar !bar; int y; } Foo !foo = new Foo; -foo.bar = barl // Ok bar is mutable +foo.bar = bar; // Ok bar is mutable foo.bar.x++; // Ok foo and foo.bar and foo.bar.x are all mutable val xfoo = foo; // Throw away mutability |
