diff options
author | Ivanov-Anton <[email protected]> | 2023-07-18 13:23:27 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-18 19:23:27 +0900 |
commit | b89b7d8fdc76b520cafc31566524f3054439d5d3 (patch) | |
tree | 7be2e1e70f47e0c1abd566fec750f0d3c3462b5a /doc/syntax | |
parent | 56c8dab46891bb21b637ec64903bb0a38bb5d2a3 (diff) |
[DOC] Fix a magic comment in the section for `experimental_copy`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8087
Merged-By: nobu <[email protected]>
Diffstat (limited to 'doc/syntax')
-rw-r--r-- | doc/syntax/comments.rdoc | 2 |
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)` |