summaryrefslogtreecommitdiff
path: root/doc/syntax/comments.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/syntax/comments.rdoc')
-rw-r--r--doc/syntax/comments.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax/comments.rdoc b/doc/syntax/comments.rdoc
index dbc7816984..00d19d588a 100644
--- a/doc/syntax/comments.rdoc
+++ b/doc/syntax/comments.rdoc
@@ -196,7 +196,7 @@ The method Module#const_set is not affected.
In this mode, all values assigned to constants are deeply copied and
made shareable. It is safer mode than +experimental_everything+.
- # shareable_constant_value: experimental_everything
+ # shareable_constant_value: experimental_copy
var = [{foo: []}]
var.frozen? # => false (assignment was made to local variable)
X = var # => calls `Ractor.make_shareable(var, copy: true)`