summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ractor.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ractor.md b/doc/ractor.md
index 1c77f50e36..dd1d44e098 100644
--- a/doc/ractor.md
+++ b/doc/ractor.md
@@ -674,7 +674,7 @@ TABLE = Ractor.make_shareable( {a: 'ko1', b: 'ko2', c: 'ko3'} )
To make it easy, Ruby 3.0 introduced new `shareable_constant_value` Directive.
```ruby
-shareable_constant_value: literal
+# shareable_constant_value: literal
TABLE = {a: 'ko1', b: 'ko2', c: 'ko3'}
#=> Same as: TABLE = Ractor.make_shareable( {a: 'ko1', b: 'ko2', c: 'ko3'} )