From b89b7d8fdc76b520cafc31566524f3054439d5d3 Mon Sep 17 00:00:00 2001 From: Ivanov-Anton Date: Tue, 18 Jul 2023 13:23:27 +0300 Subject: [DOC] Fix a magic comment in the section for `experimental_copy` --- doc/syntax/comments.rdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/syntax') 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)` -- cgit v1.2.3