summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-09-10 13:51:50 +0900
committerGitHub <noreply@github.com>2021-09-10 13:51:50 +0900
commit3d4207f9bb4f39dd06eb419cc0bf185c8f03375f (patch)
treec91ee9e4ec71439b7acccf978cec1618c80c0850 /doc
parent5dc753df47739ce03d4ecaf1f37817858861e5cd (diff)
Need `#`
`shareable_constant_value` is magic comment.
Diffstat (limited to 'doc')
-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'} )