From 831f7850689c51f8d7b17eb76c7f20b0eda16778 Mon Sep 17 00:00:00 2001 From: nagachika Date: Tue, 22 Dec 2020 08:08:27 +0900 Subject: [PATCH] [DOC] Fix typo in Ractor.make_shareable documentation. --- ractor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.