summaryrefslogtreecommitdiff
path: root/doc/syntax/comments.rdoc
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-24 14:31:01 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-24 14:31:01 +0900
commite43b5aa52dcd1eaded1141ab85a30bc8c7c4a6e4 (patch)
tree56ef37bd3ef7067bc65146fe66092a46b8b28fea /doc/syntax/comments.rdoc
parent6f29716f9ffb710af7f344839ec67ef2b8a48ab2 (diff)
remove redundant example.
pointed by @marcandre.
Diffstat (limited to 'doc/syntax/comments.rdoc')
-rw-r--r--doc/syntax/comments.rdoc1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/syntax/comments.rdoc b/doc/syntax/comments.rdoc
index a808ca86c6..b982732b76 100644
--- a/doc/syntax/comments.rdoc
+++ b/doc/syntax/comments.rdoc
@@ -201,7 +201,6 @@ made shareable. It is safer mode than +experimental_everything+.
var.frozen? # => false (assignment was made to local variable)
X = var # => calls `Ractor.make_shareable(var, copy: true)`
var.frozen? # => false
- Ractor.shareable?(var) #=> false
Ractor.shareable?(X) #=> true
var.object_id == X.object_id #=> false