[前][次][番号順一覧][スレッド一覧]

ruby-changes:64542

From: Koichi <ko1@a...>
Date: Thu, 24 Dec 2020 14:32:08 +0900 (JST)
Subject: [ruby-changes:64542] e43b5aa52d (master): remove redundant example.

https://git.ruby-lang.org/ruby.git/commit/?id=e43b5aa52d

From e43b5aa52dcd1eaded1141ab85a30bc8c7c4a6e4 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Thu, 24 Dec 2020 14:31:01 +0900
Subject: remove redundant example.

pointed by @marcandre.

diff --git a/doc/syntax/comments.rdoc b/doc/syntax/comments.rdoc
index a808ca8..b982732 100644
--- a/doc/syntax/comments.rdoc
+++ b/doc/syntax/comments.rdoc
@@ -201,7 +201,6 @@ made shareable. It is safer mode than +experimental_everything+. https://github.com/ruby/ruby/blob/trunk/doc/syntax/comments.rdoc#L201
   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
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]