summaryrefslogtreecommitdiff
path: root/chapter17
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2024-11-15 12:42:52 -0800
committerCliff Click <cliffc@acm.org>2024-11-23 09:03:20 -0800
commitb8d64b4c4c7b83794b5317a3d1135be38cd88ac8 (patch)
tree6b1dee288e6e8c692924a1eb49a823e73a4fc064 /chapter17
parentb5ad5c2a2959d88327ee15e887b3c083c536c44a (diff)
downloadSimple-b8d64b4c4c7b83794b5317a3d1135be38cd88ac8.tar.gz
Simple-b8d64b4c4c7b83794b5317a3d1135be38cd88ac8.zip
Update README.md
Diffstat (limited to 'chapter17')
-rw-r--r--chapter17/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter17/README.md b/chapter17/README.md
index 462a67f5..f6216398 100644
--- a/chapter17/README.md
+++ b/chapter17/README.md
@@ -79,9 +79,9 @@ through other references.
-### References with an initializer are deeply immutable
+### Reference variables with an initializer are deeply immutable
-Initialized variables are deeply immutable, but a mutable version of the same
+Initialized reference variables are deeply immutable, but a mutable version of the same
reference can exist. This works for `val` and normal type declarations: `val s
= new S;` and `S s = new S` both make `s` an immutable reference to a `struct S`.