ruby-changes:64433
From: nagachika <ko1@a...>
Date: Tue, 22 Dec 2020 08:08:47 +0900 (JST)
Subject: [ruby-changes:64433] 831f785068 (master): [DOC] Fix typo in Ractor.make_shareable documentation.
https://git.ruby-lang.org/ruby.git/commit/?id=831f785068 From 831f7850689c51f8d7b17eb76c7f20b0eda16778 Mon Sep 17 00:00:00 2001 From: nagachika <nagachika@r...> Date: Tue, 22 Dec 2020 08:08:27 +0900 Subject: [DOC] Fix typo in Ractor.make_shareable documentation. diff --git a/ractor.rb b/ractor.rb index cac18d4..99c0993 100644 --- a/ractor.rb +++ b/ractor.rb @@ -762,7 +762,7 @@ class Ractor https://github.com/ruby/ruby/blob/trunk/ractor.rb#L762 # 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. -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/