summaryrefslogtreecommitdiff
path: root/ractor.rb
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2020-12-22 08:08:27 +0900
committernagachika <nagachika@ruby-lang.org>2020-12-22 08:08:27 +0900
commit831f7850689c51f8d7b17eb76c7f20b0eda16778 (patch)
treeed035597e44ddbf0a4815bf48c9c50563e366f89 /ractor.rb
parenta29b9e5efe286e8ad1b0d67c38f03cbb70951076 (diff)
[DOC] Fix typo in Ractor.make_shareable documentation.
Diffstat (limited to 'ractor.rb')
-rw-r--r--ractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor.rb b/ractor.rb
index cac18d44b9..99c0993285 100644
--- a/ractor.rb
+++ b/ractor.rb
@@ -762,7 +762,7 @@ class Ractor
# obj2s = Ractor.make_shareable(obj2, copy: true)
# obj2.frozen? #=> false
# obj2s.frozen? #=> true
- # obj2s.object_id == obj1.object_id #=> false
+ # obj2s.object_id == obj2.object_id #=> false
# obj2s[0].object_id == obj2[0].object_id #=> false
#
# See also the "Shareable and unshareable objects" section in the Ractor class docs.