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

ruby-changes:32471

From: tmm1 <ko1@a...>
Date: Fri, 10 Jan 2014 13:13:13 +0900 (JST)
Subject: [ruby-changes:32471] tmm1:r44550 (trunk): gc.c: fix doc typo

tmm1	2014-01-10 13:13:04 +0900 (Fri, 10 Jan 2014)

  New Revision: 44550

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44550

  Log:
    gc.c: fix doc typo

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 44549)
+++ gc.c	(revision 44550)
@@ -2342,7 +2342,7 @@ id2ref(VALUE obj, VALUE objid) https://github.com/ruby/ruby/blob/trunk/gc.c#L2342
  *
  *  Note that some objects of builtin classes are reused for optimization.
  *  This is the case for immediate values and frozen string litterals.
- *  Immediate values are not passed by reference by are passed by value:
+ *  Immediate values are not passed by reference but are passed by value:
  *  +nil+, +true+, +false+, Fixnums, Symbols. Some Floats may be immediates too.
  *
  *      Object.new.object_id  == Object.new.object_id  # => false

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

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